/* /next8 inner pages on the proportional canvas (1440px design, px units) and the ≤900px mobile layout. */
.x8-inner { display:block; background:#fff; }
.x8-wrap { width:1180px; max-width:calc(100% - 48px); margin-inline:auto; }
.x8-inner a { color:var(--x-green); }
.x8-inner p { margin:0; }

.x8-page-hero { padding:132px 0 64px; background:linear-gradient(130deg,#fff 18%,#f0f7f4 100%); color:var(--x-text); }
.x8-page-hero .x-eyebrow { color:var(--x-green); }
.x8-page-top { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr); gap:56px; align-items:end; }
.x8-page-top.is-single { grid-template-columns:minmax(0,860px); }
.x8-page-hero h1 { margin:0; color:var(--x-text) !important; font:700 56px/1.04 var(--x-head); letter-spacing:-.04em; }
.x8-page-hero h1 span { display:block; color:var(--x-green); }
.x8-page-lead { margin-top:20px !important; max-width:700px; color:var(--x-muted); font-size:19px; line-height:1.6; }
.x8-page-aside { padding:24px; border:1px solid var(--x-line); border-radius:22px; background:#fff; color:var(--x-muted); font-size:15px; line-height:1.55; box-shadow:0 24px 50px -36px #0f3b3655; }
.x8-page-aside b, .x8-page-aside strong { color:var(--x-text); }
.x8-page-aside p + p { margin-top:8px; }
.x8-page-aside ul { margin:10px 0 0; padding-left:18px; }

.x8-page-section { padding:72px 0; }
.x8-page-section.is-first { padding-top:56px; }
.x8-page-section.is-tinted { background:var(--x-paper); }
.x8-page-band { padding:72px 0; }
.x8-page-band.is-first { padding-top:56px; }
.x8-section-title { margin:0 0 16px; font:700 36px/1.1 var(--x-head); letter-spacing:-.03em; }
.x8-section-title span { color:var(--x-green); }
.x8-two { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:56px; align-items:start; }
.x8-two p + p { margin-top:14px; }
.x8-two > div > p { color:var(--x-muted); font-size:17px; }

.x8-ticks { display:grid; gap:12px; margin:0; padding:0; list-style:none; }
.x8-ticks li { position:relative; padding-left:34px; font-size:17px; line-height:1.5; }
.x8-ticks li::before { content:''; position:absolute; left:0; top:2px; width:22px; height:22px; border-radius:50%; background:#d4f7ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='m6.5 11 3 3 6-6.5' fill='none' stroke='%23007b67' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.x8-ticks li small { display:block; color:var(--x-muted); font-size:14px; }

.x8-cert-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin:0; padding:0; list-style:none; }
.x8-cert-grid li { padding:28px; border:1px solid var(--x-line); border-radius:22px; background:#fff; }
.x8-cert-grid svg { width:34px; height:34px; color:var(--x-green); }
.x8-cert-grid h2 { margin:14px 0 8px; font:700 22px/1.2 var(--x-head); }
.x8-cert-grid p { color:var(--x-muted); font-size:16px; line-height:1.55; }
.x8-cert-grid h2 a { color:inherit; text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:5px; }
/* Inner pages end on the dark consultation band, flush with the footer; the not-found page ends on white cards.
   staging-prototypes.css zeroes section padding with !important, so the space goes on the wrapper. */
.x8-inner-not-found .x8-page-section > .x8-wrap { padding-bottom:72px; }

.x8-qa details { border-bottom:1px solid var(--x-line); }
.x8-qa details:first-child { border-top:1px solid var(--x-line); }
.x8-qa summary { position:relative; padding:18px 44px 18px 0; color:var(--x-text); font:600 18px/1.4 var(--x-head); list-style:none; cursor:pointer; }
.x8-qa summary::-webkit-details-marker { display:none; }
.x8-qa summary::after { content:'+'; position:absolute; right:6px; top:14px; color:var(--x-green); font:400 28px/1 var(--x-body); }
.x8-qa details[open] summary::after { content:'\2212'; }
.x8-qa details > div { padding:0 0 20px; color:var(--x-muted); font-size:16.5px; line-height:1.65; }
.x8-qa details > div p + p { margin-top:10px; }

.x8-faq { display:grid; grid-template-columns:240px minmax(0,1fr); gap:56px; align-items:start; }
.x8-faq-nav { position:sticky; top:100px; display:grid; gap:4px; }
.x8-faq-nav a { padding:9px 14px; border-radius:12px; color:var(--x-text) !important; font:600 15px/1.3 var(--x-body); text-decoration:none; }
.x8-faq-nav a:hover { background:var(--x-paper); }
.x8-faq-title { margin:40px 0 12px; font:700 28px/1.2 var(--x-head); letter-spacing:-.02em; scroll-margin-top:100px; }
.x8-faq-title:first-child { margin-top:0; }

.x8-steps-cards { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; margin:0; padding:0; list-style:none; }
.x8-steps-cards > li { padding:24px 20px; border:1px solid var(--x-line); border-radius:20px; background:#fff; }
.x8-step-label { display:flex; align-items:center; gap:8px; color:var(--x-green); font:600 13px/1 var(--x-body); letter-spacing:.12em; text-transform:uppercase; }
.x8-step-label span { display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:var(--x-ink); color:var(--x-mint); letter-spacing:0; }
.x8-steps-cards h2 { margin:14px 0 8px; font:700 19px/1.25 var(--x-head); }
.x8-steps-cards p { color:var(--x-muted); font-size:15px; line-height:1.5; }
.x8-steps-cards ul { margin:12px 0 0; padding-left:18px; color:var(--x-text); font-size:14.5px; line-height:1.5; }
.x8-note-band { display:flex; gap:14px; align-items:flex-start; margin-top:22px !important; padding:18px 20px; border-radius:16px; background:#fff7e0; font-size:16px; }
.x8-note-band b { display:grid; place-items:center; flex:none; width:26px; height:26px; border-radius:50%; background:#f2b600; color:#3b2a00; }

.x8-numbered { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:0; padding:0; list-style:none; counter-reset:n; }
.x8-numbered li { counter-increment:n; padding:24px; border:1px solid var(--x-line); border-radius:20px; color:var(--x-muted); font-size:15.5px; line-height:1.5; }
/* The booking page explains the steps in full below the form, so its form panel drops the short version. */
.x8-inner-book-consultation .x8-page-band.is-first .x8-next { display:none; }
.x8-numbered li::before { content:counter(n); display:grid; place-items:center; width:32px; height:32px; margin-bottom:14px; border-radius:50%; background:var(--x-ink); color:var(--x-mint); font:700 15px/1 var(--x-head); }
.x8-numbered b, .x8-maths b { display:block; margin-bottom:4px; color:var(--x-text); font:600 17px/1.3 var(--x-head); }
.x8-maths { display:grid; gap:14px; margin:0; padding:0; list-style:none; color:var(--x-muted); font-size:16px; }

.x8-quotes { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:22px 0 0; padding:0; list-style:none; }
.x8-quotes li { display:flex; flex-direction:column; padding:22px; border-radius:20px; background:var(--x-paper); }
.x8-quotes blockquote { margin:0; padding:0; border:0; }
.x8-quotes blockquote p { color:var(--x-text); font:500 17px/1.5 var(--x-body); }
.x8-quote-by { margin-top:auto !important; padding-top:12px; color:var(--x-muted); font-size:14px; font-weight:600; }
.x8-quotes-title { margin-top:56px; }

/* On inner pages the estimate sits on white: keep the panel edges visible. */
.x8-inner .x8-inputs { border-color:#c9dcd5; }

@media (max-width:900px) {
    .x8-wrap { width:auto; max-width:none; margin-inline:16px; }
    .x8-page-hero { padding:104px 0 44px; }
    .x8-page-top, .x8-two, .x8-faq { grid-template-columns:1fr; gap:28px; }
    .x8-page-hero h1 { font-size:38px; }
    .x8-page-lead { font-size:17px; }
    .x8-page-section, .x8-page-band { padding:48px 0; }
    .x8-section-title { font-size:28px; }
    .x8-cert-grid, .x8-steps-cards, .x8-numbered, .x8-quotes { grid-template-columns:1fr; }
    .x8-faq-nav { position:static; display:flex; flex-wrap:wrap; }
    .x8-faq-nav a { padding:8px 12px; border:1px solid var(--x-line); }
}

/* Tokens for /next8 parts used outside .x8-scope (the browser frames on older components). */
:root {
    --x-ink:#041b18; --x-deep:#0b4a43; --x-green:#007b67; --x-mint:#8fe0c6; --x-mint-2:#d4f7ea; --x-paper:#f3f8f6; --x-text:#0f2a3f; --x-muted:#51665f; --x-line:#d6e5df; --x-amber:#fff1cc;
    --x-head:'Poppins','Poppins Fallback',system-ui,sans-serif; --x-body:'Work Sans','Work Sans Fallback',system-ui,sans-serif;
}
.n2-window .x8-tabs, .review-device-shell .x8-tabs { border-radius:10px 10px 0 0; }

/* Closing band (Elle: "Fix the gradient/ colour in the green bottom cta section" and the "weird boxes in the cta").
   dev-premium.css paints it #005b50 with !important, so these selectors are deliberately more specific. */
html .collabit-dev-premium section:is(.reference-closing, .ai-alt-closing-statement):not(.x8-keep),
html body section.reference-closing:not(.x8-keep) {
    background:radial-gradient(60% 120% at 100% 0%,#0f4a42 0,transparent 60%), #041b18 !important;
}
html body :is(.reference-closing, .ai-alt-closing-statement) .staging-closing-panel { background:transparent !important; border:0 !important; box-shadow:none !important; }
html body .reference-closing .staging-closing-title { color:#fff !important; }
html body .reference-closing .staging-closing-copy { color:#cfe3dc !important; }
html body :is(.reference-closing, .ai-alt-closing-statement) :is(.staging-closing-signals, [class*="-final-signals"]) { display:none !important; }

/* The free consultation on every page. */
.x8-site-consult { padding:72px 0; background:#fff; }

/* Compliance check link on solution pages. */
.x8-check-band { padding:22px 0; background:var(--x-paper); border-block:1px solid var(--x-line); }
.x8-check-band .x8-wrap { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 28px; }
.x8-check-band p { margin:0; color:var(--x-muted); font-size:17px; }
.x8-check-band b { color:var(--x-text); }
.x8-check-band a { color:var(--x-green); font:600 16px/1.3 var(--x-body); text-decoration:none; }
.x8-check-band a:hover { text-decoration:underline; }

/* Fire safety: what you have to evidence. */
.x8-fire { padding:80px 0; background:#fff; }
.x8-fire-grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:56px; align-items:start; }
.x8-fire-list { display:grid; gap:14px; margin:6px 0 26px; padding:0; list-style:none; counter-reset:f; }
.x8-fire-list li { counter-increment:f; position:relative; padding:18px 20px 18px 62px; border:1px solid var(--x-line); border-radius:18px; }
.x8-fire-list li::before { content:counter(f); position:absolute; left:18px; top:18px; display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:var(--x-ink); color:var(--x-mint); font:700 14px/1 var(--x-head); }
.x8-fire-list b { display:block; color:var(--x-text); font:600 18px/1.3 var(--x-head); }
.x8-fire-rule { margin-top:6px !important; color:var(--x-muted); font-size:15px; line-height:1.55; }
.x8-fire-how { margin-top:8px !important; color:var(--x-deep); font-size:15.5px; line-height:1.5; font-weight:500; }
.x8-fire-note { margin-top:12px !important; color:var(--x-muted); font-size:13px; }
.x8-fire-shots { position:sticky; top:110px; display:grid; gap:0; }
.x8-fire-main { width:100%; }
.x8-fire-main .x8-screen img, .x8-fire-second .x8-screen img { width:100%; }
.x8-fire-second { width:72%; margin:-70px 0 0 auto; position:relative; z-index:1; }

/* Pricing: how it works. */
.x8-pricing { padding:72px 0; background:var(--x-paper); }
.x8-price-parts { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
.x8-price-parts li { background:#fff; }
.x8-pricing-more { margin-top:40px; }
.x8-pricing-more h3 { margin:0; font:700 26px/1.2 var(--x-head); }
.x8-pricing-foot { margin-top:30px !important; color:var(--x-muted); font-size:17px; }
.x8-pricing-foot a { font-weight:600; text-decoration:none; }

/* Integrations: what connects, and what moves. */
.x8-integrations { padding:72px 0; background:#fff; }
.x8-table { width:100%; border-collapse:collapse; font-size:16px; }
.x8-table th, .x8-table td { padding:16px 18px; border-bottom:1px solid var(--x-line); text-align:left; vertical-align:top; }
.x8-table thead th { color:var(--x-muted); font:600 13px/1.3 var(--x-body); letter-spacing:.1em; text-transform:uppercase; }
.x8-table tbody th { width:260px; color:var(--x-text); font:600 16px/1.4 var(--x-head); }
.x8-table td { color:var(--x-muted); line-height:1.55; }
.x8-table-note { margin-top:16px !important; color:var(--x-muted); font-size:14px; }

@media (max-width:900px) {
    .x8-fire-grid { grid-template-columns:1fr; gap:28px; }
    .x8-fire-shots { position:static; }
    .x8-price-parts { grid-template-columns:1fr !important; }
    .x8-table thead { display:none; }
    .x8-table tr { display:block; padding:12px 0; border-bottom:1px solid var(--x-line); }
    .x8-table th, .x8-table td { display:block; padding:4px 0; border:0; }
    .x8-table tbody th { width:auto; }
    .x8-site-consult, .x8-fire, .x8-pricing, .x8-integrations { padding:48px 0; }
}

/* The shared header bar on inner pages: the canvas and phone layout paint the old green, so these win. */
html body header.staging-home-topbar.x8-topbar { min-height:72px; padding:0; background:#041b18 !important; }
.collabit-viewport-header:has(.x8-topbar), html .collabit-dev-premium .collabit-viewport-header:has(.x8-topbar) { --collabit-header-background:#041b18; background:#041b18 !important; }
html .collabit-dev-premium .collabit-viewport-header-canvas > header.x8-topbar { background:#041b18 !important; height:72px; }

/* Shared footer on inner pages (inside the desktop canvas). */
html body footer.x-footer { margin:0; }

/* "Works with the systems you use": name tiles where we have no logo file (Google Workspace, Microsoft 365). */
:is(.staging-integration-list, .report-stage-integration-list) :is(.is-google-workspace, .is-microsoft-365) img { width:100%; max-width:8.4rem; height:auto; max-height:none; }
