/* Readable, clearly bounded content surfaces across public pages. */
html:root body main :is(.editorial-section, .product-showcase, .perspective-section, .goal-selector) {
  --ink: #edf4f8;
  --muted: #c3d1dc;
  --line: #3d5364;
  color: #edf4f8;
  background: linear-gradient(145deg, #152432, #0e1a25) !important;
  border: 1px solid #3d5364;
  border-radius: 20px;
  box-shadow: inset 0 1px 0 #b8d9ec0a;
  margin-block: 28px;
  isolation: isolate;
}
html:root body main > .section:is(.editorial-section, .product-showcase, .perspective-section, .goal-selector) {
  width: calc(100% - clamp(32px, 8vw, 112px));
  max-width: 1450px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 64px);
}
html:root body main :is(.editorial-section, .product-showcase, .perspective-section, .goal-selector) :is(h1, h2, h3, h4, strong, dt) {
  color: #edf4f8;
}
html:root body main :is(.editorial-section, .product-showcase, .perspective-section, .goal-selector) :is(p, li, dd, small, label, .showcase-copy > p) {
  color: #c3d1dc;
}
/* Older directories define muted colors intended for the pale surface. */
html:root body main :is(.editorial-section, .product-showcase, .perspective-section, .goal-selector) small {
  color: #c3d1dc !important;
}
html:root body main :is(.editorial-section, .product-showcase, .perspective-section, .goal-selector) :is(.eyebrow, em, .showcase-copy em) {
  color: #b6dce5;
}
html:root body main .perspective-section .large-copy { color: #e1edf4 !important; }
html:root body main :is(.editorial-section, .product-showcase, .perspective-section, .goal-selector) :is(.panel, .card, .goal-card) {
  background: #1a2c3b;
  color: #edf4f8;
  border: 1px solid #536c7e;
  border-radius: 15px;
  box-shadow: 0 8px 24px #0002;
  min-width: 0;
}
html:root body main :is(.editorial-section, .product-showcase, .perspective-section, .goal-selector) .grid {
  gap: 22px;
  align-items: stretch;
}
html:root body main .goal-card {
  background: #1a2c3b;
  color: #edf4f8;
  border-color: #536c7e;
}
html:root body main .goal-card small { color: #c3d1dc; }
html:root body main .goal-card b { color: #e7ce9b; }
html:root body main .goal-card:hover { background: #223b4d; border-color: #a7d6df; }
html:root body main :is(.editorial-section, .product-showcase, .perspective-section, .goal-selector) .text-link {
  color: #e7ce9b;
  border-color: #8c9eab;
}
html:root body main :is(.editorial-section, .product-showcase, .perspective-section, .goal-selector) a:not(.button):focus-visible {
  outline: 2px solid #b6e7ee;
  outline-offset: 4px;
}
html:root body main :is(.editorial-section, .product-showcase, .perspective-section, .goal-selector) .button:not(.ghost) {
  color: #101c26;
}
html:root body main :is(.editorial-section, .product-showcase, .perspective-section, .goal-selector) .button.ghost {
  color: #edf4f8;
  border-color: #748c9e;
  background: transparent;
}
html:root body main :is(.editorial-section, .product-showcase, .perspective-section, .goal-selector) table {
  color: #d5e2eb;
  background: #142432;
}
html:root body main :is(.editorial-section, .product-showcase, .perspective-section, .goal-selector) table th {
  background: #243e50;
  color: #f0f7fb;
  border-color: #536c7e;
}
html:root body main :is(.editorial-section, .product-showcase, .perspective-section, .goal-selector) table td { border-color: #3d5364; }
html:root body main :is(.editorial-section, .product-showcase, .perspective-section, .goal-selector) tbody tr:nth-child(even) { background: #1b3041; }
html:root body main :is(.editorial-section, .product-showcase, .perspective-section, .goal-selector) :is(.table-scroll, .table-wrap) { border-color: #536c7e; }
html:root body main :is(.editorial-section, .product-showcase, .perspective-section, .goal-selector) summary {
  color: #e4edf4;
  border-color: #536c7e;
}
html:root body main .ai-outline > summary::after { color: #b6e7ee; }
html:root body main .ai-outline[open] > summary {
  border-bottom: 1px solid #536c7e;
  padding-bottom: 22px;
  margin-bottom: 24px;
}
@media (max-width: 640px) {
  html:root body main > .section:is(.editorial-section, .product-showcase, .perspective-section, .goal-selector) {
    width: calc(100% - 32px);
    padding: 26px 22px;
    margin-block: 24px;
    border-radius: 17px;
  }
  html:root body main :is(.editorial-section, .product-showcase, .perspective-section, .goal-selector) .grid { gap: 18px; }
  html:root body main :is(.editorial-section, .product-showcase, .perspective-section, .goal-selector) :is(.panel, .card-content) { padding: 22px; }
  html:root body main :is(.editorial-section, .product-showcase, .perspective-section, .goal-selector) :is(p, li) { line-height: 1.7; }
  html:root body main :is(.editorial-section, .product-showcase, .perspective-section, .goal-selector) .ai-outline > summary { gap: 14px; }
  html:root body main :is(.editorial-section, .product-showcase, .perspective-section, .goal-selector) .ai-outline > summary::after {
    display: grid; place-items: center; width: 34px; height: 34px;
    border: 1px solid #627f92; border-radius: 50%; font-size: 24px;
  }
}

html:root body main .editorial-section .scope-list li { background: #1a2c3b; border-color: #536c7e; color: #c3d1dc; }
