/* The help centre (support/support-index.html, src/pm/support), in the
   landings' design (landing.css, 30/10): its tokens (--paper, --ink,
   --soft, --faint, --rule, --accent), weight 500, wide whites, hairlines
   rather than boxes, the tint as a dot or a filet, never a flat. A .pm's
   help centre takes the .pm's tint (<html data-pm>); a brand's, its accent
   and its font (the page's <style>). */

.sp-main-col { padding: 72px 0 120px; }
@media (max-width: 640px) { .sp-main-col { padding: 40px 0 88px; } }
.sp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* the way back: the help centre, its category */
.sp-crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 22px; font-size: 13px; color: var(--soft); }
.sp-crumbs a { color: inherit; text-decoration: none; transition: color .2s; }
.sp-crumbs a:hover, .sp-crumbs a[aria-current] { color: var(--ink); }
.sp-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 13px; color: var(--soft); }
.sp-kicker::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.sp h1 { margin: 0 0 14px; font-weight: 500; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.sp-lead { max-width: 56ch; margin: 0 0 36px; font-size: clamp(17px, .4vw + 15px, 20px); line-height: 1.5; color: var(--soft); }

/* the search: a pill drawn by a hairline, the ink's button */
.sp-search { display: flex; align-items: center; gap: 10px; max-width: 680px; margin: 0 0 72px; padding: 6px 6px 6px 20px; border-radius: 999px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--rule); transition: box-shadow .2s; }
.sp-search:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink); }
.sp-search > i { color: var(--faint); font-size: 16px; }
.sp-search input { flex: 1; min-width: 0; height: 44px; padding: 0; border: 0; background: transparent; font: inherit; color: var(--ink); outline: none; }
.sp-search input::placeholder { color: var(--faint); }
.sp-search input::-webkit-search-cancel-button { filter: grayscale(1); }
.sp-search .ld-btn { flex: none; }
@media (max-width: 640px) { .sp-search { margin-bottom: 48px; } }

/* the home's categories: a grid of hairlines, the tint as the icon's ink */
.sp-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); border-top: 1px solid var(--rule); }
.sp-tiles li { border-bottom: 1px solid var(--rule); }
.sp-tiles a { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 84px; padding: 18px 20px 18px 0; text-decoration: none; color: var(--ink); transition: color .2s; }
.sp-tile-icon { color: var(--accent); font-size: 18px; text-align: center; }
.sp-tile-name { font-size: 18px; line-height: 1.25; letter-spacing: -.01em; }
.sp-tile-count { font-size: 13px; color: var(--faint); white-space: nowrap; }
@media (hover: hover) { .sp-tiles a:hover .sp-tile-name { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 5px; } }
@media (min-width: 641px) { .sp-tiles { column-gap: 40px; } }

/* a category's articles, a search's: rows between hairlines */
.sp-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.sp-row { display: grid; grid-template-columns: minmax(0, 1fr) 20px; align-items: center; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.sp-row > span { display: grid; gap: 6px; min-width: 0; }
.sp-row b { font-weight: 500; font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }
.sp-row small { color: var(--soft); font-size: 15px; line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sp-row-icon { display: none; }
.sp-row-go { color: var(--faint); transition: transform .3s cubic-bezier(.2, .8, .2, 1), color .2s; }
@media (hover: hover) { .sp-row:hover .sp-row-go { transform: translateX(4px); color: var(--accent); } }
.sp-none { margin: 0; padding: 22px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: var(--soft); }

/* the columns: the page, then the categories beside it */
.sp-body { display: grid; gap: 72px; }
@media (min-width: 980px) { .sp-body:has(.sp-side) { grid-template-columns: minmax(0, 1fr) 260px; gap: 96px; } }
.sp-side h2 { margin: 0 0 14px; font-weight: 500; font-size: 13px; color: var(--faint); }
.sp-side ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.sp-side a { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-size: 15px; color: var(--soft); transition: color .2s; }
.sp-side a > i { color: var(--faint); text-align: center; }
.sp-side a > b { font-weight: 500; }
.sp-side a span { font-size: 12px; color: var(--faint); }
.sp-side a:hover, .sp-side a[aria-current] { color: var(--ink); }
.sp-side a[aria-current] > i { color: var(--accent); }

/* an article: one reading column, its steps numbered in rounds */
.sp-md { max-width: 68ch; overflow-wrap: anywhere; }
.sp-md p, .sp-md li { color: var(--soft); }
.sp-md > p:first-child { font-size: clamp(18px, .3vw + 16px, 20px); line-height: 1.55; color: var(--ink); }
.sp-md p { margin: 0 0 16px; }
.sp-md strong, .sp-md b { font-weight: 500; color: var(--ink); }
.sp-md h2 { margin: 56px 0 14px; font-weight: 500; font-size: 24px; line-height: 1.25; letter-spacing: -.015em; }
.sp-md h3, .sp-md h4, .sp-md h5, .sp-md h6 { margin: 32px 0 10px; font-weight: 500; font-size: 18px; }
.sp-md a { color: var(--ink); text-decoration-color: var(--rule); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.sp-md a:hover { text-decoration-color: var(--ink); }
.sp-md ol { list-style: none; counter-reset: sp-step; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.sp-md ol > li { counter-increment: sp-step; position: relative; padding-left: 44px; min-height: 28px; }
.sp-md ol > li::before { content: counter(sp-step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink); font-size: 13px; }
.sp-md ul { margin: 0 0 20px; padding-left: 20px; display: grid; gap: 6px; }
.sp-md ul > li::marker { color: var(--accent); }
.sp-md blockquote { margin: 0 0 24px; padding: 2px 0 2px 20px; border-left: 2px solid var(--accent); }
.sp-md blockquote p { color: var(--ink); }
.sp-md hr { margin: 40px 0; border: 0; border-top: 1px solid var(--rule); }
.sp-md img { display: block; max-width: 100%; height: auto; margin: 16px 0; border-radius: 12px; box-shadow: 0 0 0 1px var(--rule); }
.sp-md pre { overflow: auto; margin: 0 0 20px; padding: 14px 16px; border-radius: 12px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--rule); font-size: 14px; line-height: 1.5; }
.sp-md code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
.sp-md :not(pre) > code { padding: 1px 6px; border-radius: 6px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--rule); }

/* the contact: a filet above, the ink's button */
.sp-contact { margin-top: 96px; padding-top: 28px; border-top: 1px solid var(--rule); }
.sp-contact h2 { margin: 0 0 8px; font-weight: 500; font-size: 22px; letter-spacing: -.01em; }
.sp-contact p { margin: 0 0 20px; color: var(--soft); max-width: 56ch; }
.sp-contact a:not(.ld-btn) { color: var(--ink); text-decoration-color: var(--rule); text-underline-offset: 4px; }

/* the top bar's chat link (support_link) among the landings' links */
.ld-top .support-link { display: inline-flex; align-items: center; gap: 6px; color: var(--soft); text-decoration: none; font-size: 14px; }
.ld-top .support-link:hover { color: var(--ink); }

/* a brand's foot: its name, its year */
.sp-foot { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding: 28px 0 40px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--faint); }
.sp-foot a { color: inherit; }

@media (max-width: 560px) {
  .sp-tiles a { min-height: 68px; padding: 14px 0; }
  .sp-tile-name { font-size: 16px; }
  .sp-row { padding: 18px 0; }
  .sp-row b { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .sp-row-go, .sp-search { transition: none; } }
.sp .ld-logo { text-decoration: none; color: var(--ink); }

/* suite.pm (support/suite.go, 22/11): every app, a section each headed by
   its charter logo, its tiles in its own tint; the row of apps above them;
   a search's hits grouped the same way. A .pm without articles: one line
   and the way to suite.pm. */
.sp-apps { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: -40px 0 56px; }
.sp-apps a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink); text-decoration: none; }
@media (max-width: 640px) { .sp-apps { margin: -24px 0 40px; } }
.sp-app { scroll-margin-top: 24px; }
.sp-app + .sp-app { margin-top: 64px; }
.sp-app h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 18px; font-weight: 500; font-size: 22px; }
.sp-app h2 a { color: var(--ink); text-decoration: none; min-width: 0; }
.sp-hits + .sp-hits { margin-top: 48px; }
.sp-app-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; }
.sp-app-head h2 { margin: 0; }
.sp-empty { display: grid; justify-items: start; gap: 18px; padding: 28px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sp-empty p { margin: 0; font-size: 18px; color: var(--soft); }
.sp-none a { color: var(--ink); }
.sp-app h2 .wm { font-size: 26px; }
.sp-hits h2 .wm { font-size: 22px; }
.sp-app h2 .wm > svg { margin-top: -7px; }
.sp-apps .wm { font-size: 15px; align-items: center; line-height: 1; }
.sp-apps .wm > svg { width: 1.6em; height: 1.6em; margin: 0 6px 0 0; }
@media (max-width: 560px) { .sp-app h2 .wm { font-size: 22px; } .sp-hits h2 .wm { font-size: 19px; } }
