/* Additions on top of the vendor design (site.css stays untouched). */
/* ---- Big screens: container and type step up in stages (vendor CSS stays at 1240px / 17px) ---- */
:root{--container:1240px}
.wrap{max-width:var(--container)}
@media (min-width:1680px){
  :root{--container:1440px}
  html{font-size:17px}
  body{font-size:18px}
}
@media (min-width:2200px){
  :root{--container:1600px}
  html{font-size:18px}
  body{font-size:19px}
}

/* Keep the brand and navigation anchored to the viewport edges at every width. */
.nav .wrap{width:100%;max-width:none;padding-inline:clamp(20px,2vw,40px)}

.hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.skip-link{position:fixed;top:12px;left:12px;z-index:100;transform:translateY(-160%);padding:10px 14px;border-radius:8px;background:var(--ink);color:var(--bg);font-size:.88rem;font-weight:600;text-decoration:none;transition:transform .2s}
.skip-link:focus{transform:translateY(0)}

/* Long-form article text (the vendor CSS resets paragraph, list and table spacing) */
.prose{max-width:720px}
.prose p,.prose ul,.prose ol{margin:0 0 1.3em;font-size:1.05rem;line-height:1.75;color:var(--text)}
.prose ul,.prose ol{padding-left:1.4em}
.prose ul{list-style:disc}
.prose li{margin:0 0 .7em;padding-left:.2em}
.prose strong{color:var(--ink);font-weight:600}
.prose a{color:var(--brown);font-weight:600;text-underline-offset:3px}
.prose h2{font-family:var(--display);font-weight:400;font-size:1.7rem;margin:2.2em 0 .6em}
.prose .table-wrap{overflow-x:auto;margin:1.6em 0}
.prose table{width:100%;border-collapse:collapse;font-size:.95rem;min-width:520px}
.prose th,.prose td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--rule);vertical-align:top}
.prose th{font-weight:600;color:var(--ink);font-size:.8rem;letter-spacing:.06em;text-transform:uppercase}
.byline{color:var(--muted);font-size:.95rem;margin-top:14px}

/* ---- Home hero: the 7-Point Assessment (see lib/assessment.js) ---- */
.thesis.hx{padding:56px 0 0}
.hx h1{max-width:none}
.hx-wide h1{font-size:clamp(2.6rem,5.9vw,5.6rem)}
.hx .thesis-foot{margin-top:36px;padding-top:28px}
.hx .hero-actions{margin-top:0;justify-content:flex-end}
.hx-partners{padding-top:22px;padding-bottom:30px}
.hx-partners .partners-row{margin-top:0;border-top:0;padding-top:0}

.hx-bleed{margin-top:40px}
.hx-stage{margin:0}

/* Big monitors: the figure (not the text) breaks out of the content column. */
@media (min-width:1700px){
  .hx-bleed{position:relative;left:50%;width:min(94vw,1760px);transform:translateX(-50%)}
}

/* The vendor's ".pending" style is for dashed draft-note boxes, but the figure engine reuses the same class
   name for "waiting to draw in". Keep figures from picking up the note box look (width cap, border, padding). */
svg.fig.pending{padding:0;border:0;border-radius:0;max-width:none;color:inherit;font-size:inherit}

.post-list{display:grid;gap:24px}

/* Three items instead of four: keep the grids from leaving a gap on wide screens. */
@media (min-width:1025px){ .engage,.paths{grid-template-columns:repeat(3,1fr)} }

/* Contact paths: keep business inquiries focused, with careers and insights as lighter secondary flows. */
@media (min-width:761px){ fieldset.intent{grid-template-columns:repeat(2,1fr)} }
.contact-form-card{padding:36px;border-radius:26px;background:var(--card);box-shadow:var(--shadow)}
.contact-form-card form{padding:0;border-radius:0;background:transparent;box-shadow:none}
.form-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.contact-path-panel{margin-top:28px;padding-top:28px;border-top:1px solid var(--rule)}
.contact-path-header{margin-bottom:22px}
.contact-path-header .cap{margin:0 0 7px}
.contact-path-header h2{margin:0;font-family:var(--body);font-size:clamp(1.45rem,2vw,1.85rem);font-weight:500;letter-spacing:-.025em}
.contact-path-header > p:last-child{max-width:60ch;margin:10px 0 0;color:var(--muted);font-size:.92rem;line-height:1.6}
.contact-path-form .optional{color:var(--muted);font-size:.75rem;font-weight:400}
.contact-path-form textarea{min-height:110px}
.career-resume{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0;padding:0;border:0;min-width:0}
.career-resume label{min-width:0}
.career-resume input{width:100%;min-width:0;box-sizing:border-box}
.career-resume input[type=file]{padding:9px 12px;font-size:.88rem;cursor:pointer}
@media (max-width:760px){ .career-resume{grid-template-columns:1fr} }
@media (max-width:760px){
  .contact-form-card{padding:24px 20px;border-radius:20px}
}


/* ---- Legal pages: editorial document layout ---- */
.legal-hero{padding:clamp(36px,3.5vw,52px) 0 clamp(34px,3vw,46px);background:var(--bg-2);border-bottom:1px solid var(--rule)}
.legal-hero-grid{display:block;max-width:var(--container)}
.legal-hero-copy{max-width:760px}
.legal-hero h1{font-family:var(--body);font-size:clamp(2.15rem,3vw,2.85rem);font-weight:500;line-height:1.08;letter-spacing:-.035em;max-width:18ch;margin:10px 0 16px;text-wrap:balance}
.legal-hero .lede{font-size:.98rem;line-height:1.65;max-width:60ch;text-wrap:pretty}
.legal-meta{margin-top:16px;font-size:.74rem;color:var(--muted)}
.legal-body{padding:clamp(48px,5vw,72px) 0 clamp(84px,9vw,132px)}
.legal-grid{display:grid;grid-template-columns:minmax(200px,230px) minmax(0,780px);gap:clamp(44px,5vw,72px);align-items:start;justify-content:center}
.legal-toc{position:sticky;top:104px;font-size:.88rem}
.legal-toc nav{padding:18px 16px 16px;border:1px solid var(--rule);border-radius:12px;background:var(--card);box-shadow:0 18px 40px -34px color-mix(in srgb,var(--ink) 45%,transparent)}
.legal-toc-title{margin:0 0 12px;font-size:.72rem;font-weight:600;letter-spacing:.03em;color:var(--ink)}
.legal-toc ol,.legal-mobile-toc ol{list-style:none;margin:0;padding:0}
.legal-toc a{display:block;padding:5px 0;border-left:0;color:var(--muted);font-size:.78rem;text-decoration:none;line-height:1.35;transition:color .2s,transform .2s}
.legal-toc a:hover{color:var(--ink);transform:translateX(2px)}
.legal-toc a.on{color:var(--ink);font-weight:600}
.legal-related{margin:14px 0 0;padding:12px 16px;border:1px solid var(--rule);border-radius:10px;background:color-mix(in srgb,var(--card) 88%,transparent);font-size:.74rem;color:var(--muted)}
.legal-related span{margin-right:4px}
.legal-related a,.legal-mobile-related a{color:var(--ink);font-weight:600;text-underline-offset:3px}
.legal-copy{max-width:780px}
.legal-copy > h2{position:relative;margin:0;padding:24px 0 8px;border:0;font-family:var(--body);font-size:clamp(1.05rem,1.25vw,1.22rem);font-weight:600;line-height:1.3;letter-spacing:-.015em;scroll-margin-top:104px;text-wrap:balance}
.legal-copy > h2:first-child{padding-top:0}
.legal-copy > h2:not(:first-child)::before{display:none}
.legal-copy p,.legal-copy ul,.legal-copy ol{max-width:68ch;margin-bottom:.72em;font-size:.92rem;line-height:1.7;text-wrap:pretty}
.legal-copy li::marker{color:var(--brown)}
.legal-copy a{transition:color .2s,text-decoration-color .2s}
.legal-copy a:hover{color:var(--ink);text-decoration-color:var(--ink)}
.legal-mobile-toc{display:none}
@media (min-width:1680px){
  .legal-body .wrap{max-width:1480px}
  .legal-grid{grid-template-columns:minmax(210px,240px) minmax(0,820px);gap:72px}
  .legal-copy{max-width:820px}
}
@media (min-width:2200px){
  .legal-body .wrap{max-width:min(1680px,90vw)}
  .legal-grid{grid-template-columns:240px minmax(0,860px);gap:80px}
  .legal-copy{max-width:860px}
}
@media (max-width:1024px){
  .legal-hero-grid{grid-template-columns:minmax(0,1fr) auto;gap:32px}
  .legal-grid{display:block}
  .legal-toc{display:none}
  .legal-mobile-toc{display:block;margin:0 0 52px;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
  .legal-mobile-toc summary{cursor:pointer;padding:18px 34px 18px 0;color:var(--ink);font-size:.9rem;font-weight:600;list-style:none;position:relative}
  .legal-mobile-toc summary::-webkit-details-marker{display:none}
  .legal-mobile-toc summary::after{content:"+";position:absolute;right:2px;top:50%;translate:0 -50%;font-size:1.35rem;font-weight:400;color:var(--brown)}
  .legal-mobile-toc[open] summary::after{content:"−"}
  .legal-mobile-toc ol{columns:2;column-gap:32px;padding:0 0 18px}
  .legal-mobile-toc li{break-inside:avoid;margin:0 0 9px}
  .legal-mobile-toc a{color:var(--muted);font-size:.84rem;line-height:1.4;text-decoration:none}
  .legal-mobile-related{margin:0;padding:14px 0 18px;border-top:1px solid var(--rule);font-size:.8rem;color:var(--muted)}
  .legal-copy{margin:0 auto}
}
@media (max-width:640px){
  .legal-hero{padding:32px 0 34px}
  .legal-hero-grid{display:block}
  .legal-hero h1{font-size:clamp(2rem,10vw,2.65rem);margin-top:9px}
  .legal-mobile-toc{margin-bottom:42px}
  .legal-mobile-toc ol{columns:1}
  .legal-copy > h2{padding-top:22px}
  .legal-copy p,.legal-copy ul,.legal-copy ol{font-size:.91rem;line-height:1.7}
}

/* ---- Shared page banner: peach sweep (all inner pages, legal pages included) ---- */
.page-hero,.legal-hero,.thesis.hx{background:linear-gradient(110deg,var(--bg) 22%,var(--ht) 68%,var(--hl) 100%);border-bottom:1px solid var(--rule)}
.page-hero .cap::before{content:"";display:inline-block;vertical-align:middle;width:28px;height:2px;margin-right:12px;background:var(--brown)}

/* Results cards: keep the figure compact so the cards are not taller than they need to be */


/* ---- Figures: quicker draw-in (the figure starts drawing 300px before it scrolls into view) ---- */
@media (prefers-reduced-motion: no-preference){
  .fig.drawing polygon,.fig.drawing path{transition:stroke-dashoffset 1.1s cubic-bezier(.6,0,.2,1),fill-opacity .7s ease .5s}
  .fig.drawing .dot{transition:opacity .5s .8s}
}

/* ---- Contact page and Insights sign-up ---- */
.contact-form-card [hidden]{display:none!important}
.contact-form-card .intent{margin-bottom:22px}
.contact-detail small{display:block;color:var(--muted);font-size:.86rem;line-height:1.5}
.contact-detail b{font-weight:600;color:var(--ink)}
.contact-path-panel{margin-top:0;padding-top:0;border-top:0}
.subscribe-box{grid-template-columns:minmax(0,1fr) minmax(300px,420px)}
.subscribe-box h2{max-width:none}
.subscribe-form{display:grid;grid-template-columns:1fr;gap:12px;padding:0;border-radius:0;background:transparent;box-shadow:none}
.subscribe-form .form-actions{margin-top:2px}
@media (max-width:760px){.subscribe-box{grid-template-columns:1fr}}

/* The 7-Point Assessment figure: a row on wide screens, a column on phones. */
.gf,.gfv{display:block;width:100%;height:auto;overflow:visible}
.gfv{max-width:420px;margin:0 auto}
.gf-mob{display:none;margin-top:32px}
@media (max-width:760px){.gf-desk{display:none}.gf-mob{display:block}}
.gf-tile{fill:var(--card);stroke:var(--stroke);stroke-width:1.2}
.gf-ic *{fill:none;stroke:var(--ink);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.gf-ic .a{stroke:var(--brown)}
/* Phone hero: the icons stand on the stacks, so keep their line weight close to the wide version. */
.gf-mob .gf-ic *{stroke-width:2.9}
.gf-track{fill:none;stroke:var(--stroke);stroke-width:2;stroke-dasharray:2 7;stroke-linecap:round}
.gf-fix{fill:none;stroke:var(--brown);stroke-width:3;stroke-linecap:round}
.gf-spark{stroke:var(--brown);stroke-width:2.4;stroke-linecap:round}
.gf-spark text{fill:var(--brown);stroke:none;font:600 11px var(--body);letter-spacing:.12em;text-transform:uppercase}
.gf-glow{fill:var(--brown);fill-opacity:.12;stroke:var(--brown);stroke-width:2}
.gf-dot{fill:var(--brown)}
.gf-pre{fill:var(--muted);font:400 13px var(--body)}
.gf-name{fill:var(--ink);font:500 19px var(--body)}
.gf-cap{fill:var(--muted);font:400 13px var(--body)}
.gf-planline{fill:none;stroke:var(--brown);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gf-pill{fill:var(--brown)}
.gf-pilltxt{fill:#111;font:600 17px var(--body)}
.gf-pilltxt-m{font-size:14px}
.gf-note{fill:var(--muted);font:400 12px var(--body)}

/* Phones: the hero buttons fill the width, and the story column uses larger type. */
@media (max-width:760px){
  .hx .hero-actions{justify-content:stretch}
  .hx .hero-actions .btn{flex:1 1 100%;justify-content:center;text-align:center}
}
.gfv .gf-pre{font-size:14px}
.gfv .gf-name{font-size:21px}
.gfv .gf-cap{font-size:15px}

/* Story section heading: balanced lines, and the first step follows closely. */
.story-intro .section-head{margin-bottom:0}
.story-intro h2{text-wrap:balance}
@media (min-width:1025px){ .story-intro + .story-grid{margin-top:-64px} }

/* Tighter hand-off from the story to the next section (desktop). The last step keeps its height so the pinned figure stays on screen while it is read. */
@media (min-width:1025px){
  .story{padding-bottom:0}
  .story + section{padding-top:64px}
  /* and between "Regulated by default" and the section after it */
  .reg-section{padding-bottom:64px}
  .reg-section + section{padding-top:64px}
  /* and between "Senior practitioners" and the closing call to action */
  .values-section{padding-bottom:64px}
  .values-section + section{padding-top:64px}
}

/* ---- The people behind the work: narrow black-and-white strips, the open one is a colour card ---- */
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.crew{display:flex;gap:10px;height:clamp(440px,36vw,540px)}
.crew-item{position:relative;flex:0 0 56px;min-width:0;border-radius:18px;overflow:hidden;background:#161616;transition:flex-basis .55s cubic-bezier(.2,.8,.2,1)}
.crew-item.open{flex:1 1 0}
.crew-btn{position:absolute;inset:0;z-index:2;display:block;width:100%;height:100%;padding:0;border:0;background:none;cursor:pointer;color:inherit;font:inherit}
.crew-item.open .crew-btn{pointer-events:none}
.crew-btn:focus-visible{outline:2px solid var(--brown);outline-offset:-4px;border-radius:18px}
.crew-strip{position:absolute;inset:0;display:block;transition:opacity .35s}
.crew-strip img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.05) brightness(.82);transition:filter .4s}
.crew-item:not(.open):hover .crew-strip img{filter:grayscale(.55) contrast(1.05) brightness(.95)}
.crew-strip::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.78),rgba(0,0,0,.08) 62%)}
.crew-name{position:absolute;z-index:1;left:50%;bottom:20px;transform:translateX(-50%) rotate(180deg);writing-mode:vertical-rl;color:#fff;font:500 1rem var(--body);letter-spacing:.02em;white-space:nowrap}
.crew-item.open .crew-strip{opacity:0}
/* The open card: a square photo that shows the whole portrait, the name under it, the bio beside it. */
.crew-card{position:absolute;inset:0;display:grid;grid-template-columns:minmax(0,48%) minmax(0,1fr);grid-template-rows:auto 1fr;grid-template-areas:"photo bio" "who bio";column-gap:26px;row-gap:16px;align-content:start;padding:20px;background:#0b0b0b;color:#fff;border:1px solid rgba(255,255,255,.1);border-radius:18px;opacity:0;visibility:hidden;transition:opacity .35s ease,visibility 0s .35s}
.crew-item.open .crew-card{opacity:1;visibility:visible;transition:opacity .45s ease .18s,visibility 0s}
.crew-photo{grid-area:photo;position:relative;aspect-ratio:1;border-radius:14px;overflow:hidden;background:#1d1d1d;display:grid;place-items:center}
.crew-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 25%}
.crew-initials{font-family:var(--display);font-size:3rem;color:var(--brown)}
.crew-bio{grid-area:bio;color:rgba(255,255,255,.82);font-size:.98rem;line-height:1.7;max-width:46ch}
.crew-who{grid-area:who;align-self:start;min-width:0}
.crew-who h3{color:#fff;font:500 1.3rem var(--body);letter-spacing:-.02em}
.crew-role{color:rgba(255,255,255,.62);font-size:.9rem;margin-top:2px}
.crew-who a{display:inline-block;margin-top:10px;color:#fff;font-size:.86rem;font-weight:600;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.35)}
.crew-who a:hover{border-color:var(--brown);color:var(--brown)}
@media (prefers-reduced-motion:reduce){.crew-item,.crew-strip,.crew-card,.crew-strip img{transition:none}}
/* Narrower screens (and phones): a list of bars; the open one grows into the card. */
@media (max-width:1180px){
  .crew{flex-direction:column;height:auto}
  .crew-item,.crew-item.open{flex:none;min-height:78px;max-height:78px;transition:max-height .55s cubic-bezier(.2,.8,.2,1)}
  .crew-item.open{max-height:760px}
  .crew-btn{height:78px}
  .crew-name{writing-mode:horizontal-tb;transform:none;left:20px;bottom:50%;margin-bottom:-.7em;white-space:nowrap}
  .crew-card{position:relative;inset:auto;grid-template-columns:1fr;grid-template-rows:auto;grid-template-areas:"photo" "bio" "who";row-gap:18px;min-height:0}
  .crew-photo{width:min(100%,340px)}
  .crew-strip img{object-position:50% 28%}
  .crew-item:not(.open) .crew-card{position:absolute;inset:0}
}
/* Tablets: the square photo sits beside the bio, as on desktop. */
@media (min-width:700px) and (max-width:1180px){
  .crew-card{grid-template-columns:minmax(0,340px) minmax(0,1fr);grid-template-rows:auto 1fr;grid-template-areas:"photo bio" "who bio";column-gap:28px}
  .crew-item.open{max-height:520px}
}

/* The stacked version of the assessment figure: isometric slabs under each icon. */
.gf-sl-t{fill:var(--ft);stroke:var(--stroke);stroke-width:1;stroke-linejoin:round}
.gf-sl-l{fill:var(--fl);stroke:var(--stroke);stroke-width:1;stroke-linejoin:round}
.gf-sl-r{fill:var(--fr);stroke:var(--stroke);stroke-width:1;stroke-linejoin:round}
.gf-ring{fill:none;stroke:var(--brown);stroke-width:2}
.gf-faceglow{fill:var(--brown);fill-opacity:.4;stroke:none}
/* Icons standing on a stack are solid, so the slab's back edges do not show through them. */
.gf-ic-bare *{fill:var(--card)}
.gf-ic-bare path.a{fill:none}

/* Partner logos: the companies' own files, shown unaltered. The white version takes over in dark mode. */
.plogo{display:inline-flex;align-items:center;line-height:0}
.plogo img{display:block;height:30px;width:auto}
.plogo .dk{display:none}
.plogo-lg img{height:40px}
.plogo-aws img{height:36px}
.plogo-anthropic img{height:18px}
.plogo-lg.plogo-aws img{height:48px}
.plogo-lg.plogo-anthropic img{height:24px}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .plogo .lt{display:none}
  :root:not([data-theme="light"]) .plogo .dk{display:block}
}
:root[data-theme="dark"] .plogo .lt{display:none}
:root[data-theme="dark"] .plogo .dk{display:block}
@media (max-width:760px){ .hx-partners .partners-row{gap:16px 30px} .hx-partners .partners-row .cap{flex:0 0 100%} }

/* Back link on the Context Engineering page. */
.back-link{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:.92rem;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--brown);padding-bottom:2px}
.back-link{display:flex;width:fit-content;margin-bottom:22px;font-size:.85rem;color:var(--muted);border-bottom-color:var(--rule)}
.back-link::before{content:"\2190"}
/* Key capability card: a dark feature card (inverts in dark mode) under the four cards, linking to its own page. */
.cap-key{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 28px;text-decoration:none;background:var(--ink);color:var(--bg)}
.cap-key .cap{display:block;margin:0 0 6px;color:var(--brown)}
.cap-key h3{margin:0 0 6px;font-size:1.3rem;color:var(--bg)}
.cap-key p{margin:0;max-width:44ch;color:color-mix(in srgb,var(--bg) 68%,transparent)}
.cap-go{flex:none;display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:.92rem}
.cap-go i{font-style:normal;font-size:1.25rem;color:var(--brown);transition:transform .4s var(--spring)}
.cap-key:hover .cap-go i{transform:translateX(5px)}

/* Partners page: the four partners as layers of one stack. Pick a layer to read about it.
   Without JavaScript the layer list is hidden and every panel shows, one after another. */
.pstack{display:grid;grid-template-columns:minmax(260px,1fr) 1.7fr;gap:28px;align-items:stretch}
.pstack-layers{display:flex;flex-direction:column;gap:12px;align-self:start;min-width:0}
.pstack-tablist{display:flex;flex-direction:column;gap:12px}
.pstack-tab{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:22px 26px;border-radius:18px;border:1px solid transparent;background:var(--card);box-shadow:var(--shadow);font:inherit;color:inherit;text-align:left;cursor:pointer;transition:box-shadow .4s,border-color .3s,transform .5s var(--spring)}
.pstack-tab:hover{box-shadow:var(--shadow-hot);transform:translateY(-2px)}
.pstack-tab[aria-selected="true"]{border-color:var(--brown);box-shadow:0 0 0 1px var(--brown),var(--shadow-hot)}
.pstack-tab:focus-visible{outline:2px solid var(--brown);outline-offset:3px}
.pstack-role{font-size:1.15rem;color:color-mix(in srgb,var(--ink) 78%,transparent);text-align:left}
.pstack-tab .plogo img{height:36px}
.pstack-tab .plogo-aws img{height:44px}
.pstack-tab .plogo-anthropic img{height:24px}
.pstack-base{margin:4px 0 0;text-align:center;font-size:1.05rem;color:color-mix(in srgb,var(--ink) 78%,transparent)}
.pstack-panels{display:grid;align-self:start}
.pstack-panel{grid-template-columns:1fr;align-content:start;gap:20px;margin-bottom:22px}
.pstack-panel:last-child{margin-bottom:0}
.pstack-panel[hidden]{display:none}
.pstack-panel:focus-visible{outline:2px solid var(--brown);outline-offset:4px}
.pstack-panel h2{margin:0 0 16px}
.pstack-panel .mark>span:last-child{font-size:1.15rem;color:color-mix(in srgb,var(--ink) 78%,transparent)}
.pstack-panel p.lead{font-size:1.45rem;line-height:1.45;color:var(--ink)}
.pstack-panel p{font-size:1.2rem;line-height:1.65;color:color-mix(in srgb,var(--ink) 78%,transparent);max-width:60ch}
.pstack-panel p a{color:var(--brown);font-weight:600}
.pstack-panel .btn{margin-top:8px}
.pstack:not(.on) .pstack-layers{display:none}
.pstack:not(.on){grid-template-columns:1fr}
@media (max-width:760px){
  .pstack{grid-template-columns:minmax(0,1fr);gap:8px}
  .pstack-tablist{flex-direction:row;gap:12px;overflow-x:auto;padding:6px 2px 22px;margin:-6px -2px -10px;scrollbar-width:none}
  .pstack-tablist::-webkit-scrollbar{display:none}
  .pstack-tab{flex:0 0 74%;padding:16px 18px}
  .pstack-base{margin:6px 0 0;text-align:left}
}
