/* Compass alternating editorial surfaces, October 2026
   Applies ONLY to public Majors and Projects pages. The dark hero and footer
   retain the Analytics-inspired look; reading/browsing sections alternate
   with light, readable surfaces. The renderer injects this file LAST.
   No authenticated/dashboard/counselor/signup/checkout routes use this CSS.
*/
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular),
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note){
  --contrast-ink:#192a43;
  --contrast-text:#34475f;
  --contrast-muted:#586a82;
  --contrast-accent:#2858bb;
  --contrast-edge:#d9e3ee;
  --contrast-card:linear-gradient(180deg,#fff,#fcfdff);
  --contrast-shadow:0 7px 27px rgba(20,41,76,.055);
  --dark-text:var(--contrast-ink);
  --dark-copy:var(--contrast-text);
  --dark-muted-copy:var(--contrast-muted);
  --dark-link:var(--contrast-accent);
  --dark-edge:var(--contrast-edge);
  --dark-highlight:0 1px 0 rgba(255,255,255,.9);
  --dark-surface:var(--contrast-card);
  --dark-surface-soft:linear-gradient(180deg,#f5f8fc,#f0f4f9);
  --dark-surface-raised:#fff;
  --night-text:var(--contrast-ink);
  --night-muted:var(--contrast-muted);
  --night-soft:var(--contrast-text);
  --editorial-ink:var(--contrast-ink);
  --editorial-muted:var(--contrast-text);
  --editorial-line:var(--contrast-edge);
  --editorial-soft:#eef3fa;
  color:var(--contrast-ink);
  background:#f8fafc;
  border-color:var(--contrast-edge);
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular){
  --majors-ink:var(--contrast-ink);
  --majors-muted:var(--contrast-muted);
  --majors-blue:var(--contrast-accent);
  --majors-blue-dark:#254e9f;
  --majors-line:var(--contrast-edge);
  --majors-soft:#edf3fa;
  --major-v2-ink:var(--contrast-ink);
  --major-v2-muted:var(--contrast-muted);
  --major-v2-soft:#f0f4fa;
  --major-v2-line:var(--contrast-edge);
  --choice-ink:var(--contrast-ink);
  --choice-muted:var(--contrast-muted);
  --choice-line:var(--contrast-edge);
  --choice-soft:#f3f6fb;
  --choice-blue:var(--contrast-accent);
}
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note){
  --project-ink:var(--contrast-ink);
  --project-ink-deep:var(--contrast-ink);
  --project-muted:var(--contrast-muted);
  --project-line:var(--contrast-edge);
  --project-soft:#f0f4fa;
  --project-soft-2:#eef3fa;
  --project-purple:var(--contrast-accent);
  --project-purple-dark:#234c9c;
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular),
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) :is(h1,h2,h3,h4){
  color:var(--contrast-ink);
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular),
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) :is(p,li,dd){
  color:var(--contrast-text);
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular),
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) :is(small,dt){
  color:var(--contrast-muted);
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular),
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) :is(a,button,input,select,textarea):focus-visible{
  outline:3px solid #3278ee;
  outline-offset:3px;
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular),
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) :is(.major-sources-section a,.major-methodology-link,.project-methodology-note a,.major-related-v2>a,.project-directory-link,.projects-discovery-grid a){
  color:var(--contrast-accent);
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular),
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) :is(.majors-eyebrow,.projects-eyebrow,.major-detail-family,.major-card-family,.major-family-label,.major-section-kicker){
  color:#315cb5;
}
/* Individual sections breathe differently, like the parent studio homepage. */
body.majors-public-page main > :is(.majors-explorer-section,.major-compare-content,.major-os-section:nth-of-type(even)){
  background:#edf3fa;
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.major-directory-section,.majors-trust-section,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular,.major-sources-section){
  background:#f8fafc;
}
body.projects-public-page main > :is(.projects-directory,.project-detail-section:nth-of-type(odd)){
  background:#edf3fa;
}
body.projects-public-page main > :is(.projects-benefits,.projects-choice-guide,.project-why-section,.project-college-section,.project-related-section,.project-methodology-note){
  background:#f9fbfe;
}
/* A light header would reduce contrast at the top: preserve dark hero/chrome. */
body:is(.majors-public-page,.projects-public-page) main > :is(.majors-public-hero,.major-os-hero,.major-detail-hero,.major-choice-hero,.major-tool-hero,.major-compare-hero,.projects-hero,.project-detail-hero){
  color:#f7f9ff;
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular) :is(.majors-route-grid>a,.major-search-card,.major-search-card:has(.major-card-art),.major-card-question,.major-search-insights,.major-search-insights strong,.majors-quick-jump,.major-directory,.major-directory-groups,.major-curated-choice-grid article,.major-os-snapshot,.major-fit-lab,.major-ai-console,.major-fit-note,.major-fit-signals,.major-ai-result-grid div,.major-dimensions-compact,.major-question-card-v2,.major-reality-grid article,.major-skill-grid article,.major-path-grid article,.major-project-card,.major-related-v2>a,.major-journey-grid article,.major-career-grid article,.major-career-authority-grid article,.major-course-row span,.major-program-checks,.major-program-checks li,.major-sources-section details,.major-compare-controls,.major-compare-limit,.major-comparison,.major-comparison-head,.major-comparison-row,.major-comparison-label,.major-comparison-row>.major-comparison-label,.major-comparison-row:nth-child(odd),.major-choice-answer-points span,.major-choice-steps>ol>li,.major-choice-mistakes article,.major-choice-guide .major-theme-choice,.major-choice-answer,.major-career-principle-grid article,.major-career-popular-grid a,.major-explainer-summary article,.major-career-faq details,.major-career-context),
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) :is(.projects-benefits-grid,.projects-benefits article,.projects-filter-panel,.projects-popular,.project-directory-card,.project-family-icon,.project-directory-meta span,.project-chip-list span,.project-signal-grid span,.projects-choice-steps li,.projects-choice-guide,.projects-discovery-grid article,.project-snapshot,.project-detail-nav,.project-rich-copy aside,.project-deliverables li,.project-quality-card,.project-skill-card,.project-outcome-card,.project-major-grid a,.project-methodology-note .projects-shell,.project-editorial-trust .projects-shell){
  color:var(--contrast-ink);
  background:var(--contrast-card);
  border-color:var(--contrast-edge);
  box-shadow:var(--contrast-shadow);
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular),
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) :is(.major-card-tagline,.major-card-question,.major-card-projects,.major-os-tagline,.major-detail-overview,.major-project-card p,.major-journey-grid p,.major-reality-grid p,.project-directory-card>p,.project-deliverables p,.project-quality-card li,.project-rich-copy p,.projects-choice-steps p,.project-skill-card p,.project-major-grid p,.project-methodology-note p){
  color:var(--contrast-text);
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular),
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) :is(.major-search-card h3,.major-search-card strong,.major-project-card h3,.major-related-v2 strong,.major-os-snapshot h2,.major-compare-controls label,.major-comparison-label,.major-choice-steps h3,.major-career-authority-grid h3,.project-directory-card h3,.project-directory-card strong,.project-snapshot dd,.project-quality-card h3,.project-deliverables h3,.project-major-grid strong){
  color:var(--contrast-ink);
}
/* Search and filters: white entry fields on pale surfaces, not navy inputs. */
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular),
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) :is(input,select,textarea){
  color:var(--contrast-ink);
  background:#fff;
  border-color:#c9d6e6;
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular),
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) input::placeholder,
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular),
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) textarea::placeholder{
  color:#64768c;
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular),
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) select option{
  color:#192a43;
  background:#fff;
}
/* Dark buttons must stay bright with white text even in a light section. */
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular),
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) :is(.major-primary-link,.major-choice-primary,.major-ai-run,.projects-primary,.major-search-card:has(.major-card-art) .major-card-footer strong){
  color:#fff;
  background:linear-gradient(120deg,#285fd0,#3a62d7);
  box-shadow:0 9px 24px rgba(43,92,190,.17);
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular),
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) :is(.majors-route-action,.major-secondary-link,.major-choice-secondary,.projects-secondary){
  color:#2858bb;
  background:#edf3ff;
  border-color:#cfdbef;
}
/* On the Majors hub, exploration starts in a welcoming light section. */
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular) :is(.majors-route-grid>a,.major-search-card,.major-search-card:has(.major-card-art),.major-directory){
  border:1px solid var(--contrast-edge);
  border-radius:17px;
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular) :is(.majors-route-kicker,.major-card-family,.major-search-card .major-card-compare,.major-card-signature){
  color:#325fb8;
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular) :is(.majors-route-grid small,.majors-project-bridge p,.majors-section-heading>p,.major-card-tagline){
  color:var(--contrast-muted);
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular) :is(.majors-prompt-row button,.major-family-filter button,.majors-browse-button,.major-card-compare,.major-card-topics span,.major-results-more,.major-card-signature i,.major-card-question,.major-search-insights strong){
  background:#f1f5fc;
  border:1px solid #d9e3f2;
  color:#2f548f;
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular) :is(.major-family-filter button.active,.major-card-compare.is-selected,.majors-browse-button:hover){
  color:#fff;
  background:#2c63cc;
  border-color:#2c63cc;
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular) :is(.major-family-filter button.active span,.major-card-compare.is-selected span){
  color:#fff;
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular) :is(.major-card-compare>span:first-child,.major-family-icon){
  color:#2f65d4;
  background:#dceaff;
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular) .major-search-card:has(.major-card-art) .major-card-footer strong{
  color:#fff;
}

/* Bridge is a prominent white editorial card immediately beneath dark hero. */
body.majors-public-page main > .majors-project-bridge > .majors-public-shell {
  color:#192a43;
  background:#fff;
  border:1px solid #d9e3ee;
  box-shadow:0 7px 27px rgba(20,41,76,.055);
  border-radius:17px;
}
body.majors-public-page main > .majors-project-bridge :is(h2,p) {
  color:#192a43;
}
body.majors-public-page main > .majors-project-bridge p:not(.majors-eyebrow) {
  color:#586a82;
}

/* Comparison tables read like useful information, not dark dashboard widgets. */
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular) :is(.major-compare-controls,.major-compare-limit,.major-comparison-head,.major-comparison-row,.major-comparison-label,.major-comparison-row>.major-comparison-label){
  background:#fff;
  border-color:#d9e3ed;
  color:#172a43;
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular) .major-comparison-row:nth-child(odd){
  background:#f4f7fb;
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular) :is(.major-comparison-head p,.major-comparison-row p,.major-comparison-row li,.major-career-context){
  color:var(--contrast-text);
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular) :is(.major-compare-swap,.major-compare-meter span){
  background:#e7eef9;
  color:#2356af;
}
/* Major guide fit labs, readable educational cards, FAQ and related work. */
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular) :is(.major-ai-console,.major-fit-signals,.major-ai-result,.major-ai-result-grid div,.major-fit-signals-foot,.major-program-checks,.major-fit-note,.major-question-card-v2){
  background:#fff;
  border-color:#d9e3ee;
  color:#192a43;
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular) :is(.major-fit-note,.major-ai-plan,.major-ai-result p,.major-fit-signals article p,.major-fit-signals-foot,.major-ai-result-grid small,.major-fit-signals article>span){
  color:var(--contrast-muted) !important;
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular) :is(.major-fit-lab,.major-ai-console,.major-fit-signals,.major-project-card,.major-related-v2>a,.major-reality-grid article){
  color:#1a2c44;
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular) :is(.major-ai-suggestions button,.major-ai-actions button:not(.major-ai-run),.major-ai-provider-row button,.major-project-card a){
  color:#2858b2;
  background:#edf3ff;
  border-color:#cbd9ee;
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular) :is(.major-ai-suggestions button:hover,.major-ai-actions button:hover:not(.major-ai-run)){
  color:#183e85;
  background:#dfebff;
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular) :is(.major-sources-section details,.major-question-card-v2){
  background:#fff;
  border:1px solid #d9e3ee;
}
body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular) :is(.major-choice-guide .major-theme-choice,.major-choice-steps>ol>li,.major-choice-mistakes article,.major-career-principle-grid article,.major-career-popular-grid a){
  background:#fff;
  color:#192a43;
}
/* Project catalog, filters and step-by-step learning plans. */
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) :is(.projects-filter-panel,.projects-benefits-grid,.project-directory-card,.projects-choice-steps li,.project-snapshot,.project-deliverables li,.project-skill-card,.project-quality-card,.project-major-grid a){
  border:1px solid var(--contrast-edge);
  border-radius:17px;
}
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) :is(.projects-popular button,.project-directory-meta span,.project-chip-list span,.project-signal-grid span,.projects-choice-steps li>span,.project-family-icon,.project-card-save.is-saved,.outcome-row>span){
  background:#e7eefb;
  color:#305baf;
  border-color:#d6e3f7;
}
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) :is(.projects-filter-panel label>span,.projects-popular small,.project-family-heading p,.project-directory-card>p,.project-rich-copy aside p,.project-outcome-card p,.project-quality-card li,.project-snapshot dt,.project-methodology-note p){
  color:var(--contrast-muted);
}
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) :is(.project-family-heading h2,.project-quality-card h3,.project-directory-card h3,.project-skill-card h2,.project-college-copy h2,.project-major-grid a>strong){
  color:var(--contrast-ink);
}
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) :is(.project-card-save:hover,.projects-popular button:hover,.project-family-toggle:hover){
  background:#dceaff;
  color:#234f9f;
}
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) .project-directory-card:hover{
  border-color:#a9c2e6;
  box-shadow:0 16px 34px rgba(25,65,120,.11);
}
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) :is(.project-rich-copy aside,.project-quality-card,.project-deliverables li,.project-major-grid a){
  background:#fff;
}
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) :is(.project-methodology-note a,.projects-discovery-grid a,.project-directory-link){
  color:#2858bb;
}
/* Some comparison/skills components deliberately stay dark within a light
   reading section. Preserve their on-dark copy and actions. */
body.majors-public-page main > .major-skills-ai-section .major-ai-change-list :is(h2,h3,h4,p,li,small,strong,span),
body.majors-public-page main > .major-skills-ai-section .major-ai-change-list article :is(h2,h3,p,small,strong) {
  color:#f0f6ff;
}
body.majors-public-page main > .major-skills-ai-section .major-ai-change-list :is(a,button) {
  color:#b5d3ff;
}

/* Preserve the navy capstone banners and footer as deliberate page endings. */
body.projects-public-page main > .projects-final-cta,
body.majors-public-page main > .major-final-cta {
  background:#08182b;
  color:#f7f9ff;
}
@media(max-width:760px){
  body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular),
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note){
    padding-block:clamp(48px,8vw,72px);
  }
  body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular) :is(.major-search-card,.majors-route-grid>a),
  body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) .project-directory-card{
    box-shadow:0 5px 20px rgba(24,41,78,.05);
  }
}
@media(prefers-reduced-motion:reduce){
  body.majors-public-page main > :is(.majors-route-strip,.majors-project-bridge,.majors-explorer-section,.major-directory-section,.majors-trust-section,.major-os-section:nth-of-type(even),.major-reality-section,.major-skills-ai-section,.major-related-section,.major-sources-section,.major-compare-content,.major-choice-answer,.major-choice-steps,.major-choice-mistakes,.major-career-principles,.major-career-explainer,.major-career-popular),
body.projects-public-page main > :is(.projects-benefits,.projects-directory,.projects-choice-guide,.project-detail-section:nth-of-type(odd),.project-why-section,.project-quality-section,.project-college-section,.project-related-section,.project-methodology-note) :is(.major-search-card,.project-directory-card,a,button){
    transition:none;
  }
}
