/* ProjectMate extras: footer, Insights index and 404 — taken from the Website preview.
   pm-site.css is generated; keep hand-written additions in this file. */

/* ---------- Footer (sits outside .pm-site, so it carries its own variables) ---------- */
.pm-footer{--ink:var(--e-global-color-text,#0F172A);--indigo:var(--e-global-color-primary,#4F46E5);--indigo-light:#A5B4FC;
	background:var(--ink);color:#CBD5E1;padding:72px 0 28px;font-family:var(--e-global-typography-text-font-family,Inter),system-ui,sans-serif;font-size:16px;line-height:1.65}
.pm-footer *{box-sizing:border-box}
.pm-footer .wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.pm-footer .fgrid-foot{display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:32px}
.pm-footer .logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:#fff}
.pm-footer .logo .wm{font-family:var(--e-global-typography-primary-font-family,"Space Grotesk"),sans-serif;font-size:1.4rem;letter-spacing:-.02em;color:#fff}
.pm-footer .logo .wm span{font-weight:500}
.pm-footer .logo .wm b{font-weight:700;color:var(--indigo-light)}
.pm-footer .fbrand p{margin:16px 0 0;color:#94A3B8;font-size:1rem}
.pm-footer h4{color:#fff;font-family:var(--e-global-typography-primary-font-family,"Space Grotesk"),sans-serif;font-size:1rem;font-weight:600;line-height:1.12;letter-spacing:-.02em;margin:0 0 16px}
.pm-footer ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.pm-footer li{margin:0;padding:0}
.pm-footer a{color:#CBD5E1;text-decoration:none;font-size:.93rem}
.pm-footer a:hover{color:#fff}
.pm-footer .fbottom{border-top:1px solid #1E293B;margin-top:56px;padding-top:24px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:.85rem;color:#94A3B8}
.pm-footer .fbottom p{margin:0}
.pm-footer .cookie-link{color:#CBD5E1;font-size:inherit;text-decoration:underline}
@media (max-width:1024px){
	.pm-footer .fgrid-foot{grid-template-columns:repeat(3,1fr)}
	.pm-footer .fbrand{grid-column:1/-1}
}
@media (max-width:600px){
	.pm-footer .fgrid-foot{grid-template-columns:1fr 1fr}
	.pm-footer .wrap{padding:0 20px}
}

/* ---------- Insights index ---------- */
.pm-insights .post h3 a{color:inherit;text-decoration:none}
.pm-insights .post h3 a:hover{color:var(--indigo-700)}
.pm-insights .navigation.pagination{margin-top:40px;text-align:center}

/* ---------- 404 ---------- */
/* The preview leaves "404" and the headline left-aligned above a centred search bar; centred here. */
.pm-site .nf{padding:120px 0;text-align:center}

/* ---------- Waitlist popup (Sierra popup) ---------- */
.pm-waitlist-modal{background:#fff;border-radius:28px;box-shadow:0 30px 80px rgba(15,23,42,.35)}
.pm-waitlist-modal .pm-popup{padding:48px 40px 36px;text-align:center}
.pm-waitlist-modal .pm-popup h2{font-size:clamp(1.5rem,3vw,2rem);margin:0 0 .5em}
.pm-waitlist-modal .pm-popup .small{margin-bottom:0}
.pm-waitlist-modal .pm-popup-close{display:block;text-decoration:none}
@media (max-width:600px){.pm-waitlist-modal .pm-popup{padding:44px 22px 28px}}

/* ---------- Legal pages ---------- */
/* The builder marks the "Draft for counsel review" line as .pm-draft; the preview's box is .draft. */
.pm-site .prose .pm-draft{font-size:.85rem;background:var(--paper);border:1px solid var(--border);border-radius:var(--r-sm);padding:12px 16px;color:var(--muted)}
.pm-site .prose .pm-draft em{font-style:normal}
.pm-site .prose h1{margin:0 0 .5em}
.pm-site .prose a{color:var(--indigo-700)}
.pm-site .tablewrap table{margin:0;border:0}

/* ---------- Search results ---------- */
.pm-search .hero{padding-bottom:40px}
.pm-search-body{padding-top:24px}
.pm-search .pm-result-count{color:var(--muted);font-size:.92rem;margin:0 0 20px}
.pm-search .pm-results{display:grid;gap:16px;max-width:860px;margin:0 auto}
.pm-search .pm-result-count,.pm-search .pm-no-results{max-width:860px;margin-left:auto;margin-right:auto}
.pm-search .pm-result{padding:24px 28px}
.pm-search .pm-result .eyebrow{margin-bottom:.4em}
.pm-search .pm-result h3{margin:0 0 .35em}
.pm-search .pm-result h3 a{color:var(--ink);text-decoration:none}
.pm-search .pm-result h3 a:hover{color:var(--indigo-700)}
.pm-search .pm-result p:last-child{margin:0;color:var(--muted)}
.pm-search .pm-no-results{text-align:center}
.pm-search .pm-no-results .btns{justify-content:center}
.pm-site .navigation.pagination{margin-top:40px;text-align:center}
.pm-site .navigation.pagination .page-numbers{display:inline-block;padding:8px 14px;border-radius:999px;text-decoration:none;color:var(--ink)}
.pm-site .navigation.pagination .page-numbers.current{background:var(--tint);color:var(--indigo-700)}

/* ---------- Single article and plain text pages ---------- */
.pm-article .hero,.pm-plain .hero{padding-bottom:32px}
.pm-article-body,.pm-plain-body{padding-top:24px}
.pm-article .prose,.pm-plain .prose{margin-left:auto;margin-right:auto}
.pm-article .pm-article-meta{color:var(--muted);font-size:.95rem;margin:0}
.pm-article .prose{font-size:1.05rem}
.pm-article .prose h2{font-size:clamp(1.4rem,2.6vw,1.9rem);margin:1.6em 0 .5em}
.pm-article .prose h3{margin:1.4em 0 .4em}
.pm-article .prose img{border-radius:var(--r-sm);height:auto}
.pm-article .prose blockquote{margin:1.5em 0;padding:4px 0 4px 20px;border-left:3px solid var(--indigo);color:var(--ink)}
.pm-article .pm-article-image{margin:0 0 32px}
.pm-article .pm-article-back{max-width:760px;margin:40px auto 0}
.pm-article .pm-article-back a{text-decoration:none;font-weight:600}
.pm-plain .prose ul{list-style:none;padding:0;display:grid;gap:10px}
.pm-plain .prose{text-align:center}

/* ---------- Theme overrides inside ProjectMate sections ---------- */
/* Sierra's global.css gives every <p> its own text colour, which breaks light-on-dark blocks
   (contact card, dark bands). In the preview a paragraph takes its container's colour. */
.pm-site p{color:inherit}
/* Found by comparing every text element of every page with the preview: Sierra's global.css also
   sets line-height, margins, sizes, weights and link underlines on bare tags. Inside ProjectMate
   sections these go back to what the preview's own stylesheet (and browser defaults) give. */
.pm-site p,.pm-site li,.pm-site td,.pm-site th,.pm-site figcaption,.pm-site label,.pm-site strong,.pm-site b,.pm-site em,.pm-site dd,.pm-site dt{line-height:inherit}
.pm-site li{margin-bottom:0}
.pm-site label{margin-bottom:0;font-size:inherit}
.pm-site td,.pm-site th{font-size:inherit}
.pm-site strong,.pm-site b{font-weight:bolder}
.pm-site mark{font-weight:inherit}
.pm-site a{text-decoration:underline}
.pm-site button{text-align:center}
/* Lists and tables: Sierra sets the size and line-height on the ul/ol/table/tr wrappers, so the
   items inherited the wrong values. Form fields: Sierra fixes their height at 50px, which cut the
   five-row message box down to one row. */
.pm-site ul,.pm-site ol,.pm-site dl,.pm-site table,.pm-site thead,.pm-site tbody,.pm-site tr{line-height:inherit}
.pm-site thead,.pm-site tbody,.pm-site tr{font-size:inherit}
.pm-site input,.pm-site select,.pm-site textarea{height:auto}
/* Elementor zeroes the margin of every <figure> inside a widget with a selector that outranks the
   preview's own rule for the wide screenshot on the home page. */
.pm-site .shot-wide{margin:48px auto 24px !important}
/* Drop-downs: Sierra removes the native arrow and adds a line-height, making them 4px taller than
   the text fields beside them. Text rendering: Sierra's geometricPrecision shifts glyph widths. */
.pm-site select{-webkit-appearance:auto;appearance:auto;line-height:normal}
.pm-site{text-rendering:auto}
.pm-site a{font-family:inherit}
/* Table headers: Sierra adds a 1px border above and below. Links: Elementor's kit sets a bare
   "Inter" on <a>, losing the preview's fallback fonts (the "→" arrow came from another font). */
.pm-site .prose th{border:0}
.pm-site a:not(.btn){font-family:var(--e-global-typography-text-font-family,Inter),system-ui,sans-serif}
/* Phones: Sierra drops paragraph and list text to 14px below its mobile breakpoint; the preview
   keeps 16px, so text takes its size from the section it sits in. */
.pm-site p,.pm-site li,.pm-site ul,.pm-site ol,.pm-site dl,.pm-site dd,.pm-site dt,.pm-site figcaption{font-size:inherit}
/* Legal text: Sierra changes the space around lists and adds side borders to table cells. */
.pm-site .prose ol,.pm-site .prose ul{margin:1em 0}
.pm-site .prose td{border-width:1px 0 0}
/* Phones: in the preview the Cookie Policy table pushes the whole page 34px wider than the screen,
   so the page scrolls sideways. Let the text column shrink so the table scrolls inside its own box,
   which is what .tablewrap is for. (A deliberate improvement on the preview.) */
.pm-site .legal-grid>*{min-width:0}
