/* Shared owner-final marketing primitives. Native component tokens, never snapshot selectors. */
body .entry-content .ss-closing-primary a.wp-block-button__link{background:var(--ss-primary);color:#fff!important;border:1px solid var(--ss-primary);box-shadow:none}
body .entry-content .ss-closing-primary a.wp-block-button__link:hover{background:var(--ss-primary-dark);color:#fff!important;border-color:var(--ss-primary-dark)}
body .entry-content .ss-closing-primary a.wp-block-button__link:focus-visible{outline:2px solid #93c5fd;outline-offset:3px}
html[data-ss-theme=dark] .entry-content .wp-block-sentimentstack-product-walkthrough{--wt-paper:var(--ss-paper);--wt-bg:var(--ss-background);--wt-line:var(--ss-line);--wt-ink:var(--ss-text);--wt-muted:var(--ss-muted);--wt-blue-ink:var(--ss-link);--wt-error:var(--ss-error-text);--wt-success:var(--ss-success-text);--wt-hover:var(--ss-hover)}
html[data-ss-theme=dark] .entry-content .wp-block-sentimentstack-platform-features{--pf-paper:var(--ss-paper);--pf-line:var(--ss-line);--pf-ink:var(--ss-text);--pf-muted:var(--ss-muted);--pf-blue-ink:var(--ss-link);--pf-hover:var(--ss-hover);--pf-error:var(--ss-error-text)}
html[data-ss-theme=dark] .entry-content .wp-block-sentimentstack-agency-feature-art{--aa-ink:var(--ss-text);--aa-q:var(--ss-muted);--aa-line:var(--ss-line);--aa-paper:var(--ss-paper);--aa-success-t:var(--ss-success-text);--aa-amber-t:var(--ss-warning-text)}
html[data-ss-theme=dark] .entry-content .ss-ai-answer-demo .ss-h-card{background:var(--ss-paper);color:var(--ss-text);border-color:var(--ss-line)}
html[data-ss-theme=dark] .entry-content .ss-ai-answer-demo :is(.ss-h-chrome,.ss-h-query){background:var(--ss-surface-muted);border-color:var(--ss-line);color:var(--ss-text)}
html[data-ss-theme=dark] .entry-content .ss-ai-answer-demo :is(.ss-h-source,.ss-h-answer-label,.ss-h-answer-demo-label){color:var(--ss-muted)}
html[data-ss-theme=dark] .entry-content .ss-csi-card{background:var(--ss-paper);border-color:var(--ss-line)}
html[data-ss-theme=dark] .entry-content .ss-csi-card :is(h2,h3,strong){color:var(--ss-text)}
html[data-ss-theme=dark] .entry-content .ss-csi-card :is(.ss-csi-tagline,.ss-csi-testimonial p,.ss-csi-metric span){color:var(--ss-muted)}
/* A neutral notice is a whole card, not an accent rail. */
.ss-view-for-agencies .entry-content>.ss-agency-coming-soon{border-left:0;padding:24px;border:1px solid var(--ss-line);border-radius:14px;background:var(--ss-paper)}
@media(prefers-reduced-motion:reduce){.ss-closing-primary a.wp-block-button__link{transition:none;transform:none}}

/* BATCH 1, items 1–8. Append to live marketing-final.css after drift review.
 * Owner token consumers only; no global token aliases or layout changes. */

/* 1. Native Navigation still owns focus, Escape and scroll locking. */
html body.ss-view-home .ss-native-chrome.ss-chrome-open {
  background: var(--ss-paper);
  /* Switch surface and logo in the same frame, including normal motion. */
  transition: none;
  --chrome-text: var(--ss-text);
  --chrome-muted: var(--ss-body);
  --chrome-line: var(--ss-line);
}

/* 2–3. Readable dark semantic ink, without changing accent fills. */
html[data-ss-theme=dark] body.ss-view-home .ss-ai-answer-demo article[data-testid=ai-demo-active-answer] > p > mark {
  color: var(--ss-primary-light);
}
html[data-ss-theme=dark] body.ss-view-product .ss-pf .ss-pf-chip {
  color: var(--ss-error-text);
}

/* 4. Light archive chips retain their existing subdued surfaces. */
html[data-ss-theme=light] body.ss-view-blog .ss-blog-hero .ss-blog-eyebrow {
  color: var(--ss-primary-dark);
}
html[data-ss-theme=light] body.ss-view-blog .ss-blog-tags li {
  color: var(--ss-muted);
}

/* 5. Detail category and author links follow the theme's readable ink. */
html[data-ss-theme=light] body.ss-view-blog-post :is(.ss-bp-category,.ss-bp-author-website) {
  color: var(--ss-primary-dark);
}
html[data-ss-theme=dark] body.ss-view-blog-post :is(.ss-bp-category,.ss-bp-author-website) {
  color: var(--ss-primary-light);
}

/* 6. Facts are supporting content, not disabled text. */
html[data-ss-theme=light] body.ss-view-resource .ss-r-fact span {
  color: var(--ss-muted);
}
html[data-ss-theme=light] body.ss-view-resource .ss-r-type {
  color: var(--ss-error-text);
}

/* 7. Prose links have a persistent non-colour cue; cards/nav/actions excluded. */
html body.ss-view-home .ss-home-connects a[href],
html body.ss-view-blog-post .ss-bp-content :is(p,li,blockquote,td,h2,h3,h4) a[href]:not(.ss-button):not(.wp-block-button__link) {
  text-decoration-line: underline;
  text-decoration-color: currentColor;
  text-underline-offset: var(--ss-space-half);
}

/* 8. One inverted recipe, only for the three approved on-navy consumers.
 * Deliberately excludes the already-correct home closing band. */
html body .entry-content :is(.ss-view-home .ss-home-hero .ss-h-primary,.ss-view-product .ss-product-closing .ss-closing-primary,.ss-view-pricing .pricing-closing .ss-closing-primary) a.wp-block-button__link {
  /* Product's hero-action adapter already marks its shared fill important. */
  background: var(--ss-band-text) !important;
  color: var(--ss-navy) !important;
  border-color: var(--ss-band-text);
  box-shadow: none;
}
html body .entry-content :is(.ss-view-home .ss-home-hero .ss-h-primary,.ss-view-product .ss-product-closing .ss-closing-primary,.ss-view-pricing .pricing-closing .ss-closing-primary) a.wp-block-button__link:hover {
  background: var(--ss-slate-100) !important;
  color: var(--ss-navy) !important;
  border-color: var(--ss-slate-100);
  box-shadow: none;
  transform: none;
}
html body .entry-content :is(.ss-view-home .ss-home-hero .ss-h-primary,.ss-view-product .ss-product-closing .ss-closing-primary,.ss-view-pricing .pricing-closing .ss-closing-primary) a.wp-block-button__link:focus-visible {
  outline: 2px solid var(--ss-primary-light);
  outline-offset: 3px;
}

/* Accessibility extension A08/A10/A11. Keep genuinely hidden placeholders
 * hidden; only compact inputs need their existing visible opacity normalised. */
/* A07: the normal fixed toolbar must not cover the enquiry page's title. */
html body.ss-view-agency .entry-content {
  padding-block-start: var(--ss-space-10);
}
html[data-ss-theme] body .ssrf :is(input,textarea)::placeholder {
  color: var(--ss-muted) !important;
}
html[data-ss-theme] body .ssrf-compact input::placeholder {
  opacity: 1 !important;
}
html[data-ss-theme] body[class*="ss-view-"] .ssrf :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),textarea,select) {
  border-color: var(--ss-muted);
}
html body .ssrf :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),textarea,select):focus-visible {
  outline: 2px solid var(--ss-color-focus) !important;
  outline-offset: 3px;
}
/* Residual design batch 1. Owner geometry, native content and theme tokens. */
html body.ss-view-home .ss-home-platform{--ss-platform-background:#0f1640;--ss-on-navy:var(--ss-band-text);--ss-on-navy-muted:var(--ss-slate-300);--ss-on-navy-link:var(--ss-primary-light);--ss-on-navy-line:rgba(255,255,255,.12);--ss-on-navy-surface:rgba(255,255,255,.04);background:var(--ss-platform-background);color:var(--ss-on-navy);padding-block:96px}
html body.ss-view-home .ss-home-platform :is(h2,h3){color:var(--ss-on-navy)}
html body.ss-view-home .ss-home-platform{background-image:radial-gradient(rgba(255,255,255,.08) 1px,transparent 1.2px);background-size:28px 28px}
html body.ss-view-home .ss-home-platform .ss-container{max-width:1248px}
html body.ss-view-home .ss-home-platform :is(.ss-home-intro,.ss-home-feature-copy p,.ss-home-feature-copy ul,.ss-home-connects){color:var(--ss-on-navy-muted)}
html body.ss-view-home .ss-home-platform :is(.ss-home-eyebrow,.ss-home-feature-copy a,.ss-home-connects a){color:var(--ss-on-navy-link)}
html body.ss-view-home .ss-home-platform .ss-container>.wp-block-group__inner-container{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
html body.ss-view-home .ss-home-platform .ss-container>.wp-block-group__inner-container>:is(h2,.ss-home-intro,.ss-home-connects){grid-column:1/-1;margin-block:0}
html body.ss-view-home .ss-home-platform .ss-home-intro{margin-bottom:24px}
html body.ss-view-home .ss-home-platform .ss-home-feature-row{margin:0;min-width:0}
html body.ss-view-home .ss-home-platform .ss-home-feature-row:first-of-type{grid-column:1/-1;margin-bottom:40px}
html body.ss-view-home .ss-home-platform .ss-home-feature-row:first-of-type>.wp-block-group__inner-container{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:64px}
html body.ss-view-home .ss-home-platform .ss-home-feature-row:first-of-type .ss-home-feature-art:has(>.wp-block-group__inner-container>.ss-owner-demonstration){padding:0;border:0;background:transparent;box-shadow:none}
/* Native fallback-table header fills must not leak into the equivalent navy illustration. */
html body.ss-view-home .ss-home-platform .ss-owner-demonstration .hm-mxt th{background:transparent}
html body.ss-view-home .ss-home-platform .ss-owner-demonstration :is(.hm-mx-p,.hm-leg b,.hts-gl){color:var(--ss-slate-200)!important}
html body.ss-view-home .ss-home-platform .ss-owner-demonstration :is(.hm-mx-p.ss-cx-plink,.hm-leg b.r1){color:var(--ss-primary-light)!important}
html body.ss-view-home .ss-home-platform .ss-home-feature-row:not(:first-of-type){padding:24px;border:1px solid var(--ss-on-navy-line);border-radius:10px;background:var(--ss-on-navy-surface)}
html body.ss-view-home .ss-home-platform .ss-home-feature-row:not(:first-of-type)>.wp-block-group__inner-container{display:flex;flex-direction:column;align-items:stretch;gap:24px}
html body.ss-view-home .ss-home-platform .ss-home-feature-row:not(:first-of-type) .ss-home-feature-art{order:-1;border-radius:10px;box-shadow:none}
html body.ss-view-home .ss-home-platform .ss-home-feature-row:not(:first-of-type) .ss-home-feature-copy{order:0}
html body.ss-view-home .ss-home-platform .ss-home-feature-row:not(:first-of-type) h3{font-size:24px;line-height:1.25;letter-spacing:-.02em;margin-bottom:8px}
html body.ss-view-home .ss-home-platform .ss-home-feature-copy p{line-height:1.6}
html body.ss-view-home .ss-home-platform .ss-home-connects{margin-top:32px}
/* Keep the semantic CMS fallback available to assistive technology, not a second visible example. */
html body.ss-view-home .ss-home-platform .ss-home-feature-art>.wp-block-group__inner-container:has(>.ss-owner-demonstration)>:not(.ss-owner-demonstration){position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;border:0!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}

html body.ss-view-home .ss-home-agencies .ss-container{--ss-agency-background:#0f1640;box-sizing:border-box;max-width:1200px;padding:48px;background:var(--ss-agency-background);border-radius:10px;color:var(--ss-band-text)}
html body.ss-view-home .ss-home-agencies :is(h2,.ss-home-feature-copy strong){color:var(--ss-band-text)}
html body.ss-view-home .ss-home-agencies :is(.ss-home-feature-copy p,.ss-home-feature-copy ul){color:var(--ss-slate-300)}
html body.ss-view-home .ss-home-agencies :is(.ss-home-eyebrow,.ss-home-feature-copy p>a){color:var(--ss-primary-light)}
html body.ss-view-home .ss-home-agencies .wp-block-button__link{background:var(--ss-band-text);color:var(--ss-navy)!important;border-color:var(--ss-band-text);box-shadow:none}
html body.ss-view-home .ss-home-agencies .wp-block-button__link:hover{background:var(--ss-slate-200);color:var(--ss-navy)!important;border-color:var(--ss-slate-200);box-shadow:none;transform:none}
html body.ss-view-home .ss-home-agencies .ss-container>.wp-block-group__inner-container{gap:48px}

/* Dedicated native price overview plus short summaries, not a second full pricing page. */
html body.ss-view-home .ss-home-plans .ss-container>.wp-block-group__inner-container{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,260px);column-gap:32px}
html body.ss-view-home .ss-home-plans :is(h2.wp-block-heading,.ss-home-intro){grid-column:1;text-align:left;margin:0}
html body.ss-view-home .ss-home-plans h2.wp-block-heading{font-size:32px;align-self:end;margin-bottom:12px}
html body.ss-view-home .ss-home-plans .ss-home-plan-overview{grid-column:2;grid-row:1/span 2;align-self:center;padding:20px;border:1px solid var(--ss-line);border-radius:10px;background:var(--ss-paper)}
html body.ss-view-home .ss-home-plan-overview :is(p,a){font-size:12px;line-height:1.6;margin:0}
html body.ss-view-home .ss-home-plan-overview .ss-teaser-price-amount{font-size:28px;font-weight:800;color:var(--ss-text)}
html body.ss-view-home .ss-home-plan-overview .ss-teaser-price-currency{display:block;color:var(--ss-muted)}
html body.ss-view-home .ss-home-plan-overview a{display:inline-flex;align-items:center;min-height:44px;font-weight:700;color:var(--ss-link)}
html body.ss-view-home .ss-home-plans .pricing-widget{grid-column:1/-1;margin-top:24px}
html body.ss-view-home .ss-home-plans .pricing-card{padding:16px;position:relative}
html body.ss-view-home .ss-home-plans .pricing-badge-slot{position:absolute;top:12px;right:12px;min-height:0;margin:0}
html body.ss-view-home .ss-home-plans .pricing-badge-slot:empty{display:none}
html body.ss-view-home .ss-home-plans .pricing-card-content{padding:0;text-align:left}
html body.ss-view-home .ss-home-plans .pricing-card :is(h2,.pricing-price){text-align:left}
html body.ss-view-home .ss-home-plans .pricing-card h2{font-size:18px;margin-bottom:8px}
html body.ss-view-home .ss-home-plans .pricing-card .pricing-price{font-size:24px}
html body.ss-view-home .ss-home-plans .pricing-price-suffix{font-size:11px}
html body.ss-view-home .ss-home-plans .pricing-features li{min-height:0;padding:4px 0;font-size:12px}
html body.ss-view-home .ss-home-plans .pricing-features li:nth-child(n+6),html body.ss-view-home .ss-home-plans :is(.pricing-features-toggle,.pricing-intro){display:none}
html body.ss-view-home .ss-home-plans .pricing-widget>.pricing-location-note{display:none}
html body.ss-view-home .ss-home-plans .pricing-card-action{padding:12px 0 0}
html body.ss-view-home .ss-home-plans .pricing-action{white-space:normal;font-size:12px}

/* Owner pricing FAQ: heading and credit art on one row, full-width accordion below. */
html body.ss-view-pricing .pricing-faq:has(.ss-owner-credit-art)>.wp-block-group__inner-container{display:block}
html body.ss-view-pricing .pricing-faq .pricing-section-header>.wp-block-group__inner-container{display:grid;grid-template-columns:minmax(0,1fr) 300px;column-gap:32px;align-items:center}
html body.ss-view-pricing .pricing-faq .pricing-section-header :is(.pricing-eyebrow,h3,p){grid-column:1}
html body.ss-view-pricing .pricing-faq .ss-owner-credit-art{grid-column:2;grid-row:1/span 3;margin:0;align-self:center}
html body.ss-view-pricing .pricing-faq .pricing-faq-list{margin-top:24px}
/* Identical hero wording remains visible; suppress only the repeated widget note. */
html body.ss-view-pricing .pricing-plans .pricing-widget>.pricing-location-note{display:none}

/* Art is a sibling in native cards, but sits inside the owner's 16px content inset. */
html body:is(.ss-view-pricing,.ss-view-home) :is(.pricing-plans,.ss-home-plans) .pricing-card{border-radius:10px;min-width:0}
html body:is(.ss-view-pricing,.ss-view-home) :is(.pricing-plans,.ss-home-plans) .ss-owner-price-art{width:calc(100% - 32px);max-width:none;min-height:0;margin:16px auto 0}
html body:is(.ss-view-pricing,.ss-view-home) :is(.pricing-plans,.ss-home-plans) .pricing-card-content{padding-top:16px}

/* The standalone owner page keeps compact side-by-side actions on phones too. */
html[data-ss-theme=dark] body.ss-view-404 .ss-owner-notfound-illustration .mkc-ink{fill:var(--ss-text)}
html body.ss-view-404 .ss-not-found-actions{flex-direction:row;flex-wrap:wrap;justify-content:center;width:auto}
html body.ss-view-404 .ss-not-found-actions>.wp-block-button{width:auto}
html body.ss-view-404 .ss-not-found-actions .wp-block-button__link{width:auto;font-size:14px}
html body.ss-view-404 .ss-not-found-card:has(.ss-owner-notfound-illustration){box-sizing:border-box;width:100%;min-width:0}
html body.ss-view-404 .ss-not-found-card>.wp-block-group__inner-container{width:100%;min-width:0}
html body.ss-view-404 .ss-not-found-card h1{font-size:48px;font-weight:800;line-height:1.1}
html[data-ss-theme=dark] body.ss-view-home .ss-home-platform{background-image:radial-gradient(rgba(255,255,255,.05) 1px,transparent 1.2px),linear-gradient(#16224f 0%,#0b1033 100%);background-size:28px 28px,100% 100%}
@media(max-width:900px){
  html body.ss-view-home .ss-home-platform{padding-block:64px}
  html body.ss-view-home .ss-home-platform .ss-container>.wp-block-group__inner-container{grid-template-columns:minmax(0,1fr)}
  html body.ss-view-home .ss-home-platform .ss-home-feature-row:first-of-type>.wp-block-group__inner-container{grid-template-columns:minmax(0,1fr);gap:32px}
  html body.ss-view-home .ss-home-platform .ss-home-feature-row:not(:first-of-type){padding:16px}
  html body.ss-view-home .ss-home-agencies .ss-container{width:calc(100% - 32px);padding:32px 24px}
  html body.ss-view-home .ss-home-agencies .ss-container>.wp-block-group__inner-container{grid-template-columns:minmax(0,1fr);gap:32px}
  html body.ss-view-pricing .pricing-faq .pricing-section-header>.wp-block-group__inner-container{grid-template-columns:minmax(0,1fr)}
  html body.ss-view-pricing .pricing-faq .ss-owner-credit-art{grid-column:1;grid-row:4;margin-top:24px}
}
@media(max-width:599px){html body.ss-view-home .ss-home-plans .ss-container>.wp-block-group__inner-container{grid-template-columns:minmax(0,1fr)}html body.ss-view-home .ss-home-plans .ss-home-plan-overview{grid-column:1;grid-row:3;margin-top:24px}html body.ss-view-home .ss-home-plans h2.wp-block-heading{font-size:28px}html body.ss-view-404 .ss-not-found-card h1{font-size:32px}html body.ss-view-404 .ss-owner-notfound-illustration{width:280px}}
/* Do not shrink phone SVG labels by nesting two padded cards. Copy retains its inset. */
@media(max-width:599px){
  html body.ss-view-home .ss-home-platform .ss-home-feature-row:not(:first-of-type){padding:0}
  html body.ss-view-home .ss-home-platform .ss-home-feature-row:not(:first-of-type) .ss-home-feature-art{padding:0;border:0}
  html body.ss-view-home .ss-home-platform .ss-home-feature-row:not(:first-of-type) .ss-home-feature-copy{padding:0 16px 16px}
  html body.ss-view-home .ss-home-agencies .ss-container{padding:24px 16px}
  html body.ss-view-home .ss-home-agencies .ss-container>.wp-block-group__inner-container>.ss-agency-art{margin-inline:-16px;width:calc(100% + 32px)}
}
