/* Product pages (/product/<slug>, public/landing/product/*.html): what they need beyond site.css and combined.css.
   Loaded after both, by the product pages only. Everything here is new class names or scoped under .ppage, so the
   landing page is never affected. */

/* hero: the heading sits inside the outer hairlines, like the landing's section heads */
.ppage .p-hero{padding-bottom:clamp(40px,5vw,64px)}
.ppage .p-hero .row,.ppage .crumbs{padding-inline:var(--inset)}
.ppage .p-hero .row{align-items:end}
.ppage .p-hero .side{padding-top:0;padding-bottom:6px}
.ppage .p-hero .ctas{display:flex;gap:10px;flex-wrap:wrap}
.ppage .p-hero .fine{font-size:13px;color:var(--ink-3)}
/* on a narrow screen the persona question drops under the product's name instead of squeezing it onto two lines */
.ppage .p-hero .eyebrow{flex-wrap:wrap;row-gap:8px;line-height:1.3}
.ppage .p-hero .eyebrow b{white-space:nowrap}
.ppage .crumbs{flex-wrap:wrap}
.ppage .crumbs span:last-child{color:var(--ink)}
/* an anchored section lands below the sticky 64px bar */
.ppage section[id]{scroll-margin-top:72px}

/* a hairline grid of cells, any count: the container's colour shows through the 1px gaps as the rules */
.pg{display:grid;gap:1px;background:var(--line);border:1px solid var(--line)}
.pg.c2{grid-template-columns:repeat(2,1fr)}
.pg.c3{grid-template-columns:repeat(3,1fr)}
.pg.c4{grid-template-columns:repeat(4,1fr)}
.pg>*{background:var(--bg-2);padding:26px 28px;display:flex;flex-direction:column;gap:10px;min-width:0}
.pg h3{font-size:17px;font-weight:500;letter-spacing:-.015em}
.pg p{color:var(--ink-2);font-size:15px}
.pg .k{font:400 11px/1.4 var(--mono);color:var(--ink-3)}
.pg .chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:auto;padding-top:8px}

/* the other four products */
.pg.others a{min-height:170px;transition:background .15s}
.pg.others a:hover{background:var(--bg)}
.pg.others b{font-weight:500;font-size:17px;letter-spacing:-.015em}
.pg.others span{color:var(--ink-3);font-size:14px}
.pg.others small{font:400 11px/1 var(--mono);color:var(--ink-3);margin-top:auto;padding-top:12px}
.pg.others a:hover small{color:var(--accent-ink)}

/* label and meaning, one row each */
.rows{border:1px solid var(--line);background:var(--bg-2)}
.rows>div{display:grid;grid-template-columns:minmax(150px,230px) 1fr;gap:6px 20px;padding:14px 22px;border-bottom:1px solid var(--line);font-size:15px;color:var(--ink-2)}
.rows>div:last-child{border-bottom:0}
.rows b{font-weight:500;color:var(--ink)}
.rows code,.pg code,.pnote code,.duo code,.ppage .faq code,.ppage .steps code{font:400 12.5px/1 var(--mono);color:var(--ink);background:var(--bg-3);padding:2px 5px;border-radius:2px}

/* text beside a screen */
.duo{display:grid;grid-template-columns:1fr 1.3fr;gap:clamp(24px,4vw,56px);align-items:center}
.duo>.txt{padding-left:var(--inset);display:flex;flex-direction:column;gap:16px}
.duo>.txt>p{color:var(--ink-2);font-size:15.5px;max-width:52ch}
.duo .steps{margin-top:8px}
.pshot{background:var(--panel);padding:clamp(20px,3vw,40px);border:1px solid var(--line);margin:0}
.pshot .vfig{margin:0}

/* a plain note under a block */
.pnote{border:1px solid var(--line);border-top:0;background:var(--bg-2);padding:16px 22px;font-size:14.5px;color:var(--ink-2)}
.pnote b{font-weight:500;color:var(--ink)}
.pnote.solo{border-top:1px solid var(--line);margin-top:24px}
.ppage .howhere+.pnote{border-top:0}

/* the dark band's cards, two to a page, each with its screen beside it */
.ppage .ctl .lead:last-child{border-bottom:0}
.ppage .ctl .lead{align-items:center}
.lead-l{display:flex;flex-direction:column;gap:18px;min-width:0}
.ctl .on-dark{color:#fff;text-decoration:underline;text-underline-offset:3px}
.viz-k{display:block;margin-top:12px;font:400 10.5px/1 var(--mono);color:#7d848c}
.ppage .band .vfig figcaption{color:var(--foot-ink-2)}
.ppage .band .vfig figcaption b{color:var(--foot-ink)}
.ppage .band .vfig figcaption em{color:var(--foot-ink-2);border-color:#2d3238}

/* set-up block: the landing's .sdk grid, with its own inset */
.ppage .sdk .steps p code{white-space:nowrap}
.ppage .code pre{max-width:100%}
.ppage .sdk .inner>*{min-width:0}

@media (max-width:1080px){
  .pg.c3,.pg.c4{grid-template-columns:repeat(2,1fr)}
  .pg.c3.odd{grid-template-columns:1fr}
  .duo{grid-template-columns:1fr}
  .duo>.txt{padding-right:var(--inset)}
  .ppage .ctl .lead:last-child{border-bottom:0}
}
@media (max-width:760px){
  .pg.c2,.pg.c3,.pg.c4{grid-template-columns:1fr}
  .pg>*{padding:22px 20px}
  .pg.others a{min-height:0}
  .rows>div{grid-template-columns:1fr;padding:14px 16px}
  .ppage .sdk .inner>:first-child{padding-right:var(--inset)}
  .vfig figcaption{flex-wrap:wrap}
}
