/* NACWO Phase 1.76-D — light-theme legibility & editorial atmosphere
 *
 * All rules are explicitly LIGHT-MODE-ONLY. Dark-mode styles in the existing
 * system remain intact and keep their exact original computed presentation.
 * No extra scripts, fonts, animations, requests, or page elements.
 */

/* Correct the cascade conflict: older cinematic theater CSS forces white
   headings onto the new pale flagship theater surface. */
html:not([data-theme="midnight"]) body.home-page .h176-theater-section{
  color:#102b3d!important;
  background:
    radial-gradient(ellipse at 88% 11%,rgba(41,159,188,.15),transparent 34%),
    radial-gradient(ellipse at 5% 92%,rgba(79,178,193,.10),transparent 38%),
    linear-gradient(144deg,#e9f2f5 0%,#e5eff3 54%,#dbe8ee 100%)!important;
  border-block:1px solid rgba(82,137,165,.15);
}
html:not([data-theme="midnight"]) body.home-page .h176-theater-intro h2{
  color:#0c2b3e!important;
}
html:not([data-theme="midnight"]) body.home-page .h176-theater-intro h2 em{
  color:#136a76!important;
}
html:not([data-theme="midnight"]) body.home-page .h176-eyebrow{
  color:#145c70!important;
}
html:not([data-theme="midnight"]) body.home-page .h176-eyebrow i{
  background:#158d94;
  box-shadow:0 0 0 6px rgba(24,132,151,.13);
}
html:not([data-theme="midnight"]) body.home-page .h176-theater-intro p{
  color:#405a6b!important;
}
/* Existing dark showcase is intentionally retained for high visual contrast.
   Its eyebrow simply gains clarity against the sidebar. */
html:not([data-theme="midnight"]) body.home-page .h176-demo-sidebar-header small{
  color:#b8eaf4;
}
html:not([data-theme="midnight"]) body.home-page .h176-ghost-cta{
  color:#092a3b!important;
  border:1px solid rgba(11,93,110,.20);
  background:linear-gradient(112deg,#a6f5e7,#73d6df)!important;
  box-shadow:0 11px 28px rgba(16,112,139,.15);
}
html:not([data-theme="midnight"]) body.home-page .h176-ghost-cta:hover{
  background:linear-gradient(112deg,#cafff2,#9ae7ed)!important;
}

/* The pale sections form a cohesive rhythm instead of white rectangles. */
html:not([data-theme="midnight"]) body.home-page .home-main{
  background:#eaf2f5;
}
html:not([data-theme="midnight"]) body.home-page .conversion176-fit-section{
  background:
    radial-gradient(ellipse at 88% 12%,rgba(62,173,201,.13),transparent 35%),
    radial-gradient(ellipse at 8% 88%,rgba(125,190,204,.10),transparent 30%),
    linear-gradient(125deg,#edf4f7,#e3eef3)!important;
  border-color:#cbdfe6;
}
html:not([data-theme="midnight"]) body.home-page .conversion176-choice{
  background:linear-gradient(126deg,#f8fcfd,#f1f8fa)!important;
  border-color:#c7dce5!important;
  box-shadow:0 8px 28px rgba(11,61,86,.065);
}
html:not([data-theme="midnight"]) body.home-page .conversion176-choice.is-selected{
  background:linear-gradient(107deg,#eefafe,#d9eff5)!important;
  border-color:#2185a1!important;
}
html:not([data-theme="midnight"]) body.home-page .d176-workspaces{
  background:
    radial-gradient(ellipse at 88% 20%,rgba(43,165,192,.12),transparent 34%),
    radial-gradient(ellipse at 2% 90%,rgba(91,156,191,.10),transparent 30%),
    linear-gradient(155deg,#e8f1f5,#e0edf2 58%,#eaf3f5)!important;
  border-block:1px solid rgba(91,152,174,.17);
}
html:not([data-theme="midnight"]) body.home-page .d176-workspace-card{
  background:linear-gradient(155deg,#f5fbfc,#edf6f8)!important;
  border-color:#c9dfe5;
  box-shadow:0 22px 54px rgba(16,74,100,.09);
}
html:not([data-theme="midnight"]) body.home-page .d176-workspace-card:hover{
  box-shadow:0 26px 64px rgba(16,74,100,.14);
}
html:not([data-theme="midnight"]) body.home-page .d176-workspace-copy{
  background:transparent;
}
html:not([data-theme="midnight"]) body.home-page .home-directory-section{
  background:
    radial-gradient(ellipse at 85% 10%,rgba(48,165,188,.14),transparent 37%),
    linear-gradient(130deg,#e7f1f2,#dfeaed)!important;
}
html:not([data-theme="midnight"]) body.home-page .home-directory-card{
  background:linear-gradient(125deg,#f4fafb,#eaf4f6)!important;
  border-color:#c5dce4!important;
  box-shadow:0 22px 60px rgba(14,64,88,.085)!important;
}
html:not([data-theme="midnight"]) body.home-page .home-membership{
  background:
    radial-gradient(ellipse at 12% 12%,rgba(52,159,183,.12),transparent 32%),
    linear-gradient(145deg,#e8f1f2,#dfeaed 65%,#e6f1f3)!important;
}
html:not([data-theme="midnight"]) body.home-page .conversion176-faq-section{
  background:
    radial-gradient(ellipse at 90% 8%,rgba(46,155,190,.12),transparent 35%),
    radial-gradient(ellipse at 3% 86%,rgba(92,158,186,.08),transparent 32%),
    linear-gradient(148deg,#e8f1f5,#dfeaf0)!important;
  border-top:1px solid rgba(66,134,160,.16);
}
html:not([data-theme="midnight"]) body.home-page .conversion176-faq-list details{
  background:linear-gradient(120deg,#f4f9fb,#eaf3f6);
  border-color:#cbdfe7;
  box-shadow:0 7px 21px rgba(17,71,94,.045);
}
html:not([data-theme="midnight"]) body.home-page .conversion176-faq-list details[open]{
  background:linear-gradient(120deg,#e2f3f8,#edf9fa);
  border-color:#94c9d9;
}

/* Discreet decorative geometry—visible only in large pale sections, not
   duplicated over text, videos, controls or on smaller devices. */
html:not([data-theme="midnight"]) body.home-page .d176-workspaces,
html:not([data-theme="midnight"]) body.home-page .conversion176-faq-section{
  position:relative;
  isolation:isolate;
}
html:not([data-theme="midnight"]) body.home-page .d176-workspaces::before,
html:not([data-theme="midnight"]) body.home-page .conversion176-faq-section::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:
    linear-gradient(rgba(34,115,145,.036) 1px,transparent 1px),
    linear-gradient(90deg,rgba(34,115,145,.036) 1px,transparent 1px);
  background-size:76px 76px;
  -webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.7),transparent 76%);
  mask-image:linear-gradient(90deg,rgba(0,0,0,.7),transparent 76%);
}
@media(max-width:650px){
  html:not([data-theme="midnight"]) body.home-page .d176-workspaces::before,
  html:not([data-theme="midnight"]) body.home-page .conversion176-faq-section::before{
    background-size:54px 54px;
    opacity:.55;
  }
}
