/* ps-seo.css — the help, reference and guide sections added for search (Oct 2026).
   Uses the variables from common.css, so light and dark follow the site. */
.ps-guide, .ps-foot, .ps-page { font-family: Nunito,sans-serif; color: var(--ink2); }
.ps-guide { max-width: 900px; margin: 2.5rem auto 0; padding: 1.6rem 1rem 0; border-top: 1px solid var(--border); line-height: 1.7; font-size: 15px; }
.ps-guide h2, .ps-page h2 { font-family: 'Fredoka', Nunito,sans-serif; font-weight: 500; color: var(--ink); font-size: 22px; letter-spacing: -.01em; line-height: 1.25; margin: 0 0 .9rem; }
.ps-guide h3, .ps-page h3 { font-family: 'Fredoka', Nunito,sans-serif; font-weight: 500; color: var(--ink); font-size: 17px; margin: 1.4rem 0 .55rem; }
.ps-guide p, .ps-page p { margin: 0 0 .8rem; }
.ps-guide ol, .ps-guide ul, .ps-page ol, .ps-page ul { margin: 0 0 .9rem 1.3rem; }
.ps-guide li, .ps-page li { margin: .3rem 0; }
.ps-guide a, .ps-page a, .ps-foot a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.ps-guide a:hover, .ps-page a:hover, .ps-foot a:hover { color: var(--accent-dark); }
.ps-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: .4rem 2rem; }
.ps-tips li b, .ps-page .ps-tips li b { color: var(--ink); font-weight: 600; }
.ps-more { background: var(--accent-light); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: 10px; padding: .75rem 1rem; margin: 1.2rem 0 !important; }
.ps-faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: .15rem 1rem; margin: 0 0 .5rem; }
.ps-faq summary { cursor: pointer; font-family: 'Fredoka', Nunito,sans-serif; color: var(--ink); font-size: 15.5px; padding: .6rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.ps-faq summary::-webkit-details-marker { display: none; }
.ps-faq summary::after { content: "+"; color: var(--accent); font-weight: 700; }
.ps-faq details[open] summary::after { content: "−"; }
.ps-faq details p { margin: 0 0 .75rem; }
.ps-rel { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .6rem; margin: .4rem 0 0; padding: 0 !important; list-style: none; }
.ps-rel li { margin: 0 !important; }
.ps-rel a { display: block; height: 100%; padding: .7rem .9rem; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); color: var(--ink); text-decoration: none; font-family: 'Fredoka', Nunito,sans-serif; }
.ps-rel a span { display: block; font-family: Nunito,sans-serif; font-size: 13px; color: var(--ink3); margin-top: 2px; }
.ps-rel a:hover { border-color: var(--accent); color: var(--ink); }

/* site footer */
.ps-foot { max-width: 900px; margin: 3rem auto 0; padding: 1.6rem 1rem 3rem; border-top: 1px solid var(--border); font-size: 14px; }
.ps-foot .ps-fcols { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 1.1rem 1.2rem; }
.ps-foot h2 { font-family:Nunito,sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); margin: 0 0 .5rem; }
.ps-foot ul { list-style: none; margin: 0; padding: 0; }
.ps-foot li { margin: .28rem 0; }
.ps-foot a { color: var(--ink2); text-decoration: none; }
.ps-foot a:hover { color: var(--accent); text-decoration: underline; }
.ps-foot .ps-fnote { margin-top: 1.4rem; font-size: 13px; color: var(--ink3); }

/* stand-alone help / reference pages */
.ps-page { max-width: 820px; margin: 0 auto; padding: 1.4rem 1rem 1rem; line-height: 1.75; font-size: 16px; }
.ps-crumbs { font-family:Nunito,sans-serif; font-size: 12px; color: var(--ink3); margin: 0 0 1rem; }
.ps-crumbs a { color: var(--ink3); text-decoration: none; }
.ps-crumbs a:hover { color: var(--accent); }
.ps-crumbs span { margin: 0 .35rem; }
.ps-page h1 { font-family: 'Fredoka', Nunito,sans-serif; font-weight: 500; color: var(--ink); font-size: clamp(28px, 5vw, 40px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .7rem; }
.ps-page h1 em { color: var(--accent); }
.ps-lede { font-size: 18px; color: var(--ink2); }
.ps-ctas { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 1.4rem; }
.ps-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1rem; border-radius: 10px; font-family: 'Fredoka', Nunito,sans-serif; font-size: 15px; text-decoration: none !important; border: 1px solid var(--border2); color: var(--ink) !important; background: var(--surface); }
.ps-btn.go { background: var(--accent-grad, var(--accent)); border-color: var(--accent-dark); color: #fff !important; }
.ps-btn.go:hover { background: var(--accent-grad-hover, var(--accent-dark)); }
.ps-btn:hover { border-color: var(--accent); }
.ps-toc { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: .8rem 1.1rem; margin: 0 0 1.6rem; font-size: 14.5px; }
.ps-toc b { font-family:Nunito,sans-serif; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); font-weight: 600; }
.ps-toc ol { margin: .4rem 0 0 1.2rem; columns: 2; column-gap: 2rem; }
@media (max-width: 560px) { .ps-toc ol { columns: 1; } }
.ps-page section { margin: 0 0 1.8rem; }
.ps-page h2 { font-size: 25px; margin-top: 2rem; }
.ps-rules { counter-reset: r; list-style: none; margin-left: 0 !important; }
.ps-rules li { counter-increment: r; position: relative; padding: .55rem .9rem .55rem 2.8rem; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; margin: 0 0 .45rem !important; }
.ps-rules li::before { content: counter(r); position: absolute; left: .75rem; top: .6rem; width: 1.5rem; height: 1.5rem; border-radius: 6px; background: var(--accent-grad, var(--accent)); color: #fff; font: 600 13px/1.5rem 'DM Mono', monospace; text-align: center; }
.ps-example { border-left: 3px solid var(--accent); background: var(--accent-light); padding: .8rem 1rem; border-radius: 0 10px 10px 0; }
.ps-example p:last-child { margin-bottom: 0; }
.ps-note { font-size: 14px; color: var(--ink3); }
.ps-table-wrap { overflow-x: auto; margin: .6rem 0 1.2rem; border: 1px solid var(--border); border-radius: 10px; }
.ps-table { border-collapse: collapse; width: 100%; font-size: 14px; font-family: 'DM Mono', monospace; background: var(--surface); }
.ps-table th, .ps-table td { border-bottom: 1px solid var(--border); padding: .45rem .7rem; text-align: left; vertical-align: top; }
.ps-table th { background: var(--panel); color: var(--ink); font-weight: 600; position: sticky; top: 0; }
.ps-table tr.one td { background: var(--accent-light); }
.ps-table td.n { white-space: nowrap; color: var(--ink); font-weight: 600; }
.ps-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .3rem 0 1rem; padding: 0 !important; list-style: none; }
.ps-chips li { margin: 0 !important; }
.ps-chips a { display: inline-block; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--border2); font-family:Nunito,sans-serif; font-size: 12.5px; text-decoration: none; color: var(--ink2); }
.ps-chips a:hover { border-color: var(--accent); color: var(--accent); }
.ps-gloss dt { font-family: 'Fredoka', Nunito,sans-serif; color: var(--ink); font-size: 17px; margin-top: 1rem; }
.ps-gloss dd { margin: .2rem 0 0; }
.ps-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .8rem; list-style: none; margin: .6rem 0 1.4rem !important; padding: 0 !important; }
.ps-cards li { margin: 0 !important; }
.ps-cards a { display: block; height: 100%; padding: .9rem 1rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--ink); }
.ps-cards a b { display: block; font-family: 'Fredoka', Nunito,sans-serif; font-weight: 500; font-size: 17px; }
.ps-cards a span { display: block; font-size: 14px; color: var(--ink3); margin-top: .2rem; line-height: 1.5; }
.ps-cards a:hover { border-color: var(--accent); }
.ps-rel, .ps-chips, .ps-cards, .ps-foot ul { margin-left: 0 !important; }
