/* B294 · Security: what CultureAI runs on, grouped (the outside companies as cards, the open-source technology as tiles,
   each official mark from simple-icons in its own brand colour, a name set in type where no mark exists), and how we build
   it: every practice held in place by a check, a test or a setting in the code. */
.px-secp [aria-labelledby="h-stack"] .os-head h2::before{content:"04"}
.px-secp [aria-labelledby="h-build"] .os-head h2::before{content:"05"}
.px-secp .sec-stack .os-head h2,.px-secp .sec-build .os-head h2{max-width:12ch}

/* a group: a quiet label, a line, then its cards and tiles */
.px-secp .sk-g{min-width:0}
.px-secp .sk-g+.sk-g{margin-top:34px}
.px-secp .sk-gh{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin:0 0 14px;padding:0 0 12px;border-bottom:1px solid var(--sx-line,#e3e6ee)}
.px-secp .sk-gh h3{margin:0;font:600 15px/1.3 var(--px-sans);letter-spacing:-.005em;color:var(--sx-ink,#0A1633)}
.px-secp .sk-gh p{margin:0;font:400 14.5px/1.5 var(--px-sans);color:var(--sx-slate,#46506a)}
.px-secp .sk-g .vd-grid+.st-grid{margin-top:10px}

/* the outside companies keep B287's cards; names are now h4 inside each group */
.px-secp .vd h4{margin:0;font:600 18px/1.25 var(--px-sans);letter-spacing:-.01em;color:var(--sx-ink,#0A1633)}
.px-secp .vd-word .vd-t{padding-top:0}
.px-secp .vd-word h4{font-size:20px;letter-spacing:-.02em}

/* the technology: compact tiles, mark and name on one line, its job under it */
.px-secp .st-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.px-secp .st{display:flex;align-items:center;gap:12px;min-width:0;padding:12px 14px 12px 12px;border-radius:16px;background:#f4f5f8}
.px-secp .st-logo{flex:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:#fff;box-shadow:0 1px 2px rgba(11,21,48,.06),0 8px 18px -12px rgba(11,21,48,.3)}
.px-secp .st-logo img{display:block;width:24px;height:24px}
.px-secp .st-t{min-width:0}
.px-secp .st h4{margin:0;font:600 15.5px/1.25 var(--px-sans);letter-spacing:-.005em;color:var(--sx-ink,#0A1633)}
.px-secp .st p{margin:3px 0 0;font:400 13.5px/1.4 var(--px-sans);color:var(--sx-slate,#46506a)}
/* no official mark: the name set in type, on the same tile, with the same height as a tile with a mark */
.px-secp .st-word{min-height:68px;padding-left:16px}
.px-secp .st-word h4{font-size:17px;letter-spacing:-.02em}

/* practices: B252's cards, with the check that holds each one in place */
.px-secp .sec-build .pr-grid li{gap:8px}
.px-secp .sec-build .pr-grid li::before{background-color:#fff;box-shadow:inset 0 0 0 1.5px #1248D6;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231559f5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 8-4 4 4 4M15 8l4 4-4 4'/%3E%3C/svg%3E")}
.px-secp .sec-build [aria-labelledby="h-pr-guard"] .pr-grid li::before{background-color:#1248D6;box-shadow:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 5 6v5c0 4.5 3 8.4 7 10 4-1.6 7-5.5 7-10V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E")}
.px-secp .sec-build .pr-grid li:last-child:nth-child(odd){grid-column:auto}
.px-secp .sec-build .pr-grid p.pr-ev{margin-top:auto;padding-top:12px;border-top:1px solid var(--sx-line,#e3e6ee);font:500 12.5px/1.45 var(--px-mono,ui-monospace,monospace);letter-spacing:0;color:#1248D6}
.px-secp .sec-build .pr-grid li{grid-template-rows:auto auto 1fr auto}
.px-secp .sec-build .pr-grid li p:not(.pr-ev){margin:0}

@media (max-width:1180px){.px-secp .st-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){
  .px-secp .sk-g+.sk-g{margin-top:28px}
  .px-secp .sk-gh{margin-bottom:12px}
  .px-secp .st-grid{grid-template-columns:minmax(0,1fr);gap:8px}
  .px-secp .st{padding:10px 14px 10px 10px}
  .px-secp .st-logo{width:40px;height:40px;border-radius:11px}
  .px-secp .st-logo img{width:22px;height:22px}
  .px-secp .st-word{min-height:60px}
}
/* infrastructure: three companies, then two tiles in the same two columns */
.px-secp .sk-infra .vd-grid>li:last-child:nth-child(odd){grid-column:1/-1}
.px-secp .sk-infra .st-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:640px){.px-secp .sk-infra .st-grid{grid-template-columns:minmax(0,1fr)}}
/* phone: two tiles a row, the mark above the name, so the stack reads as a wall rather than a long list */
@media (max-width:640px){
  .px-secp .st-grid,.px-secp .sk-infra .st-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .px-secp .st{flex-direction:column;align-items:flex-start;gap:10px;padding:12px}
  .px-secp .st-logo{width:36px;height:36px;border-radius:10px}
  .px-secp .st-logo img{width:20px;height:20px}
  .px-secp .st-word{min-height:0;padding:12px}
  .px-secp .st-word{justify-content:flex-end}
  .px-secp .st h4{font-size:15px}
  .px-secp .st-word h4{font-size:16.5px}
  .px-secp .st p{font-size:13px}
}
