:root {
  --neutral-button-fill: linear-gradient(155deg,#fff,#eff1fb);
  --neutral-button-border: #bcc2dc;
  --neutral-button-ink: #2e3956;
  --neutral-button-edge: inset 0 calc(-1 * clamp(3px,.24em,5px)) 0 #5861ac1c;
  --neutral-button-hover: linear-gradient(155deg,#e1dbfa,#c9c1f0);
  --neutral-button-hover-border: #6653b0;
}

/* Content-only palette. Scope boundaries preserve headers, footers, animation and directory UI. */
@scope (body) to (header, footer, .dash-shell, .account-shell, .owners-comparison, .flyer-bottom, .topic-hero, .article-hero, .insights-hero, .insight-article-hero, .dash-hero, .restored-home-hero, #story, .experience, .stage, .scene, canvas, iframe, .directory-dock, #directory-dock, .shop-card, .shop-profile, .owners-comparison, .flyer-bottom) {
:scope:not(:has(#story,.approved-home-hero)){background:#061322}
:scope:not(:has(.approved-home-hero)) main:not(:has(#story)):not(.dash-shell main){background:#061322;color:#C3D1DF}
:is(.section,.chapter-surface,.article-copy,.article-layout,.home-owner,.home-paths,.topic-nav,.article-toc,.next-guide){background:#061322!important;color:#C3D1DF;--chapter-bg:#061322!important;--chapter-previous:#061322!important}
:is(h2,h3,h4){color:#FFFFFF}
:is(.card,.learning-card,.guide-card,.insight-card,.plain-sections,.callout,.table-scroll,.film-stack,.faq-item,details:not(nav details)){background:#F5F8FD;color:#142743;border-color:#C3D1DF}
:is(.card,.learning-card,.guide-card,.insight-card,.plain-sections,.callout,.table-scroll,.film-stack,.faq-item,details) :is(h2,h3,h4,p,li,summary){color:#142743}
:is(.eyebrow,.reading-time){color:#142743!important;background:#EAFA35;padding:4px 8px;border-radius:3px;width:fit-content}
.inline-link{display:inline-flex;align-items:center;gap:8px;max-width:100%;box-sizing:border-box;margin-block:12px 24px;line-height:1.5;color:#142743!important;background:#F5F8FD!important;padding:10px 14px;border-radius:5px;border-bottom:2px solid #142743!important}
.inline-link:hover{background:#EAFA35!important;color:#142743!important}
:is(.button,.btn){background:#142743;color:#FFFFFF;border-color:#EAFA35}
:is(.button,.btn):hover{background:#EAFA35;color:#142743}
:is(.topic-nav,.article-toc) a{color:#142743!important;background:#F5F8FD!important}
:is(.topic-nav,.article-toc) a:hover,
.myth-topics button:is(:hover,:focus-visible,[aria-pressed="true"]){background:#EAFA35!important}
.myth-topics button:is(:hover,:focus-visible,[aria-pressed="true"]){color:#142743;border-color:#b3c5d1}
.topic-nav strong{color:#C3D1DF}
.article-copy a{color:#142743;background:#F5F8FD}
th{background:#142743;color:#FFFFFF}td{background:#F5F8FD;color:#142743}

:is(.installation-education,.care-education) :is(p,li){color:#C3D1DF}
:is(.installation-education,.care-education) :is(h2,h3,h4){color:#FFFFFF}
:is(.installation-education,.care-education) :is(.process-list li>span,.use-grid small){color:#EAFA35}
:is(.contamination-review,.film-choice-check,.education-note){background:#F5F8FD!important;color:#142743!important;border-color:#B7E61D}
:is(.installation-education,.care-education) :is(.contamination-review,.film-choice-check,.education-note) :is(h2,h3,h4,p,li,strong,small){color:#142743!important}
:is(.installation-education,.care-education) .education-note{color:#142743!important}
:is(.installation-education,.care-education) .table-scroll :is(th,th p){color:#FFFFFF!important;background:#142743}
:is(.installation-education,.care-education) .table-scroll :is(td,td p){color:#142743!important;background:#F5F8FD}

/* Readable introductory copy on the Learn About PPF page. */
#learn > div > p,#ppf-basics .education-split > div > p,#interior-ppf .interior-intro p,#interior-ppf .interior-instruction{color:#C3D1DF!important}
#learn .lead,#ppf-basics .education-split > div > p.lead,#interior-ppf .interior-intro strong{color:#FFFFFF!important}
#interior-ppf .interior-intro a{color:#EAFA35!important;text-decoration:underline;text-underline-offset:3px}
.home-owner .home-owner-badge,.home-owner .eyebrow{color:#EAFA35!important}
.home-owner h2{color:#F5F8FD!important}
}

.next-step.lime-next-step.standalone-next-step,
.topic-page .lime-next-step {
  background: linear-gradient(115deg, #d9f536, #b7e61d);
  color: #142743;
  border-color: #eaff7b;
  border-top-color: #f0ff90;
}
.lime-next-step h2 { color: #142743; }
.lime-next-step p { color: #21374c; }
.lime-next-step .button {
  background: #142743;
  border-color: #142743;
  color: #fff;
}
.lime-next-step .button:is(:hover, :focus-visible) {
  background: #244d99;
  border-color: #244d99;
  color: #fff;
}
.lime-next-step .eyebrow {
  background: #142743;
  color: #EAFA35 !important;
  font-weight: 800;
}
/* The Color Finder's neutral button finish, shared by comparable controls. */
body .topic-nav > a,
main a.inline-link:not(:where(.gold-resource-link,.coverage-action,.warranty-guide-link,.find-shops-cta,.edge-planning > a,.insights-status > a)),
.chapter-guide-links > a:not(.gold-resource-link),
:is(.color-brands,.manufacturer-brand-grid,.manufacturer-options,.myth-topics,.marine-area-tabs,.marine-view-controls,.marine-bottom-controls,.view-buttons) button:not(:where(.active,[aria-pressed="true"])),
.viewer-hub .coverage-tabs button:not([aria-selected="true"]),
#color-explorer .color-view-controls button:not([aria-pressed="true"]),
.ppf-basics-page :is(#choose-film .tabs button,#coverage .coverage-bottom .tabs button,.install-steps :is(a,button)):not(:where(.active,[aria-pressed="true"])),
:is(.account-shell button.secondary,.installer-invitation .outline,.owner-section .outline,.myth-toolbar .outline,.dash-search-results button,.button.light) {
  background:var(--neutral-button-fill) !important;
  border:1px solid var(--neutral-button-border) !important;
  border-radius:clamp(9px,.65em,12px) !important;
  color:var(--neutral-button-ink) !important;
  box-shadow:var(--neutral-button-edge) !important;

  &:is(:hover,:focus-visible) {
    background:var(--neutral-button-hover) !important;
    border-color:var(--neutral-button-hover-border) !important;
  }
}

.viewer-hub .viewer-hub-nav small {color:inherit}

.standalone-next-step {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:35px max(6%,calc((100vw - 1400px)/2));
  border-top:3px solid #f0ff90;
  font:400 .9375rem/1.65 'DM Sans',Arial,sans-serif;
}

.standalone-next-step h2 {
  margin:10px 0;
  font:700 2rem/1.2 'Barlow Condensed',Arial,sans-serif;
}

.standalone-next-step p {
  max-width:650px;
  margin:0;
}

.standalone-next-step .eyebrow {
  font-size:.625rem;
  letter-spacing:.14em;
}

.standalone-next-step .button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  flex-shrink:0;
  min-height:44px;
  padding:15px 22px;
  border-radius:4px;
  font-size:.8125rem;
  font-weight:700;
  text-decoration:none;
}

@media (max-width:700px) {
  .standalone-next-step {
    flex-direction:column;
    align-items:flex-start;
    gap:22px;
  }

  .standalone-next-step h2 {
    font-size:1.75rem;
  }
}
