/* FastGlass: dark introductions, lighter chapters, and warm paper for decisions. */
.site-public {
  --fg-section-gutter: max(56px, calc((100% - 1280px) / 2));
  --fg-paper: #f4efe6;
  --fg-lavender: #eae4ee;
  --fg-ink: #292d37;
  --fg-copy: #555d69;
  --bg: #1b242e;
  --text: #f7f3eb;
  --muted: #bec8d4;
  --line: #ffffff26;
  background: #1b242e;
}
.site-public .site-header { background: #19212b; border-color: #ffffff26; }
.site-public > .footer {
  width: 100%;
  max-width: none;
  padding-inline: var(--fg-section-gutter);
  background: #283340;
  border-color: #d7c7e133;
}
.site-public .footer p,
.site-public .footer-bottom,
.site-public .brand-attribution { color: #bdc7d4; }
.site-public .footer .quiet-link { color: #e2d7ee; }
.home-theme.site-public { background: #293441; }

/* NEXT, SmugUP!, and SmugLoader share the same readable chapter rhythm. */
.next-page { background: #1b242e; }
.next-page > :is(.next-facts, .product-demo, .next-flow, .next-tools, .smugup-features, .next-purchase, .next-install, .smugup-faq) {
  width: 100%;
  max-width: none;
  padding-inline: var(--fg-section-gutter);
}
.next-page > .next-facts {
  background: #2b3745;
  color: #d3dce5;
  border-color: #d8d0e530;
}
.next-page > .next-facts > span::before { background: #c2b0da; }
.next-page > .product-demo {
  --text: var(--fg-ink);
  --muted: var(--fg-copy);
  padding-block: 68px;
  background: var(--fg-paper);
  color: var(--fg-ink);
  color-scheme: light;
}
.next-page > .product-demo .product-demo-heading > .eyebrow { color: #6c5778; }
.next-page > .product-demo .product-demo-heading > p:not(.eyebrow) { color: var(--fg-copy); }
.next-page > .product-demo .video-link { color: #604a73; }
.next-page > .product-demo .video-frame { border-color: #9987a855; box-shadow: 0 14px 32px #3a2f4214; }
.next-page > .next-flow {
  padding-block: 72px;
  background: #2b3745;
  border-block: 1px solid #ffffff14;
}
.next-page .next-steps article { border-color: #c3b8d33b; }
.next-page .next-steps article > span { color: #d0bedf; }
.next-page .next-steps p { color: #c5ced9; }
.next-page .next-save-note { background: #384656; border-color: #b8aec83b; }
.next-page .next-save-note > p { color: #d0d8e1; }
.next-page .next-save-note strong { color: #fff4e9; }
.next-page > :is(.next-tools, .smugup-features) {
  --text: var(--fg-ink);
  --muted: var(--fg-copy);
  --line: #5b486827;
  padding-block: 72px;
  background: var(--fg-paper);
  color: var(--fg-ink);
  color-scheme: light;
}
.next-page .next-tools-grid p,
.next-page .next-workflow-notes p,
.next-page .smugup-feature-copy > p:not(.eyebrow),
.next-page .smugup-feature-list li { color: var(--fg-copy); }
.next-page .next-workflow-notes,
.next-page .smugup-feature-list li { border-color: #9c8aa43f; }
.next-page .next-workflow-notes > summary,
.next-page .smugup-feature-list strong { color: #44364f; }
.next-page > :is(.product-demo, .next-tools, .smugup-features, .smugup-faq) strong { color: #403348; }
.next-page .smugup-feature-copy > .eyebrow { color: #6c5778; }
.next-page .smugup-saved-visual figcaption { color: #625b6a; }
.next-page > .next-purchase {
  --text: var(--fg-ink);
  --muted: var(--fg-copy);
  --line: #6f57732b;
  padding-block: 74px;
  background: var(--fg-lavender);
  color: var(--fg-ink);
  border-color: #b8a7c438;
  color-scheme: light;
}
.next-page .next-purchase .purchase-intro > p:not(.eyebrow),
.next-page .next-purchase .purchase-card > p,
.next-page .next-purchase .purchase-card .small-print,
.next-page .next-purchase .price > span,
.next-page .next-purchase .check-list,
.next-page .next-purchase .smugup-requirements p,
.next-page .next-purchase .smugup-requirements ul { color: #555060; }
.next-page .next-purchase .purchase-intro > .eyebrow { color: #6c5778; }
.next-page .next-purchase strong,
.next-page .next-purchase .price > strong { color: #403348; }
.next-page .next-purchase .purchase-card,
.next-page .next-purchase .next-paid-card,
.next-page .next-purchase .smugup-demo-card {
  background: #fcfaf7;
  border-color: #c7b9ce;
  box-shadow: 0 12px 30px #3e2c490b;
}
.next-page .next-purchase .next-paid-card { background: #f6f0fa; border-color: #b5a0c5; }
.next-page .next-purchase .button:not(:disabled) { background: #5c466d; color: #fffaf4; border-color: #5c466d; }
.next-page .next-purchase .button:not(:disabled):hover { background: #705785; border-color: #705785; }
.next-page .next-purchase .button:disabled { background: #d3c7dc; color: #5c5066; border-color: #b7a4c4; opacity: 1; }
.next-page .next-purchase .secondary { background: #fcfaf7; border-color: #a48ab6; color: #574065; }
.next-page .next-purchase .purchase-card .small-print a,
.next-page .next-purchase .smugup-requirements a { color: #60446e; }
.next-page .next-purchase .badge { background: #eee5f3; border-color: #cbbbda; color: #614a70; }
.next-page .next-purchase .check-list li::before { color: #725686; }
.next-page .next-purchase .smugup-requirements { border-color: #bba9c73d; }
.next-page .next-purchase .smugup-requirements h3 { color: #403348; }
.next-page .next-purchase .form-status { color: #604b70 !important; }
.next-page .next-purchase .form-status.is-error { color: #9a3e3b !important; }
.next-page .checkout-result { background: #fcfaf7; border-color: #b49ec5; color: #45364e; }
.next-page > .next-install { padding-block: 72px; background: #2b3745; border-color: #ffffff20; }
.next-page .next-instructions p,
.next-page .next-install-intro > p:not(.eyebrow) { color: #c5ced9; }
.next-page .next-instructions strong { color: #f1e6f5; }
.next-page .next-instructions a,
.next-page .next-install-intro > .quiet-link,
.next-page .next-instructions > li::before { color: #d9c3e8; }
.next-page > .smugup-faq { padding-block: 68px; background: var(--fg-paper); color: var(--fg-ink); color-scheme: light; }
.next-page .smugup-faq details { border-color: #b6a5c13f; }
.next-page .smugup-faq summary { color: #403448; }
.next-page .smugup-faq details > p { color: var(--fg-copy); }
.next-page > .next-page-end { padding-block: 28px; margin-bottom: 0; color: #c4ceda; }

/* Develop Keys already has paper benefits and lavender pricing. Separate the remaining chapters. */
.dk-page > :is(.dk-home-base, .dk-app-gallery, .dk-rhythm, .dk-shortcuts, .dk-install) {
  width: 100%;
  max-width: none;
  padding-inline: var(--fg-section-gutter);
}
.dk-page > .dk-home-base { padding-block: 72px; background: #2b3745; }
.dk-page > .dk-app-gallery { padding-block: 76px; background: #303c4a; }
.dk-page > .dk-rhythm {
  --text: var(--fg-ink);
  --muted: var(--fg-copy);
  padding-block: 72px;
  background: var(--fg-paper);
  color: var(--fg-ink);
  color-scheme: light;
}
.dk-page .dk-rhythm .eyebrow { color: #6c5778; }
.dk-page .dk-rhythm .muted-title { color: #796780; }
.dk-page .dk-rhythm-copy p { color: var(--fg-copy); }
.dk-page > .dk-shortcuts { padding-block: 68px; background: #2b3745; }
.dk-page .dk-shortcuts article { background: #364252; border-color: #d0bdd83b; }
.dk-page > .dk-install { padding-block: 72px; background: #2b3745; }

/* Class Compositer alternates its existing paper panels with distinct slate chapters. */
.class-theme .feature-band { background: #e8e4eb; }
.class-theme :is(.analysis-section, .workflow-section) {
  width: 100%;
  max-width: none;
  padding-inline: var(--fg-section-gutter);
  padding-block: 78px;
}
.class-theme .analysis-section { background: #2b3745; }
.class-theme .workflow-section { background: #35414f; }
.class-theme .template-section { background: #293542; }
.class-theme .template-notes { background: #354250; }

/* Support and legal copy are easier to read on paper; the shared header stays charcoal. */
.site-public .support-grid {
  --text: var(--fg-ink);
  --muted: var(--fg-copy);
  width: 100%;
  max-width: none;
  padding: 64px var(--fg-section-gutter);
  background: var(--fg-paper);
  color: var(--fg-ink);
  color-scheme: light;
}
.site-public .service-card { background: #fcfaf7; border-color: #cfc2d5; box-shadow: 0 10px 28px #44314f0a; }
.site-public .service-card > p,
.site-public .service-card .small-print { color: #5e5867; }
.site-public .service-card .service-number { color: #79628b; }
.site-public .service-card label { color: #514659; }
.site-public .service-card input,
.site-public .service-card textarea { background: #fffefa; border-color: #b9a7c5; color: #292d37; }
.site-public .service-card input::placeholder,
.site-public .service-card textarea::placeholder { color: #7a7082; }
.site-public .service-card .button { background: #5c466d; border-color: #5c466d; color: #fffaf4; }
.site-public .service-card .small-print a { color: #654973; }
.site-public .support-grid .form-status { color: #604b70 !important; }
.site-public .support-grid .form-status.is-error { color: #9a3e3b !important; }
.site-public .support-notes { padding-top: 56px; }
.site-public .support-notes p { color: #c2cbd7; }
.site-public .prose {
  --text: var(--fg-ink);
  --muted: var(--fg-copy);
  --line: #6d53752e;
  width: 100%;
  max-width: none;
  padding: 72px var(--fg-section-gutter);
  background: var(--fg-paper);
  color: var(--fg-ink);
  color-scheme: light;
}
.site-public .prose :is(p, li, small) { color: #555867; }
.site-public .prose :is(h1, h2, h3, strong) { color: #2e2d38; }
.site-public .prose .eyebrow { color: #705b7d; }
.site-public .prose a { color: #644a75; }
.site-public .prose :is(a, button):focus-visible,
.site-public .support-grid :is(a, button, input, textarea):focus-visible { outline-color: #705383; }

@media (max-width: 800px) {
  .site-public { --fg-section-gutter: 32px; }
}
@media (max-width: 680px) {
  .site-public { --fg-section-gutter: 20px; }
  .next-page > :is(.product-demo, .next-flow, .next-tools, .smugup-features, .next-purchase, .next-install, .smugup-faq),
  .dk-page > :is(.dk-home-base, .dk-app-gallery, .dk-rhythm, .dk-shortcuts, .dk-install),
  .class-theme :is(.analysis-section, .workflow-section) { padding-block: 48px; }
  .site-public .support-grid { padding-block: 42px; }
  .site-public .prose { padding-block: 48px; }
}
