/*
 * WYTAFY V30 — warm, crisp light edition.
 * All changes are strictly scoped to data-theme="light".
 * Existing dark mode remains untouched.
 * Palette: porcelain #fffdf9 / ivory #fbf7f0 / linen #f4eadc / warm stone #e9dfd0.
 */

html[data-theme="light"] {
  --wy-ivory:#fbf7f0;
  --wy-linen:#f5ede2;
  --wy-porcelain:#fffdf9;
  --wy-stone:#eae0d2;
  --wy-ink:#102130;
  --wy-muted:#596675;
  --wy-line:rgba(50,42,33,.13);
  color-scheme: light;
  background:var(--wy-ivory);
}
html[data-theme="light"] body{background:var(--wy-ivory);color:var(--wy-ink)}
html[data-theme="light"] .cream-section{background:var(--wy-ivory)}
html[data-theme="light"] .section-index{color:#6c7781}
html[data-theme="light"] .section-index:before{background:#2e94e6}
html[data-theme="light"] h2 em,html[data-theme="light"] h1 em{color:#9a7657}

/* The photograph is sharp, vibrant and unobstructed on the right. Only the
   copy zone on the left receives a cream tonal gradient for readability. */
html[data-theme="light"] .hero{background:#fbf7f0;color:var(--wy-ink)}
html[data-theme="light"] .hero-image{filter:none!important;opacity:1!important}
html[data-theme="light"] .hero-shade{
  background:
    linear-gradient(90deg,
      #fbf7f0 0%,
      rgba(251,247,240,.98) 17%,
      rgba(251,247,240,.94) 26%,
      rgba(251,247,240,.83) 34%,
      rgba(251,247,240,.53) 43%,
      rgba(251,247,240,.12) 53%,
      rgba(251,247,240,0) 62%),
    linear-gradient(0deg,rgba(251,247,240,.46),transparent 22%);
}
html[data-theme="light"] .hero h1{color:#102130}
html[data-theme="light"] .hero h1 em{color:#8a6548}
html[data-theme="light"] .hero-lead{color:#485867;max-width:575px}
html[data-theme="light"] .hero .eyebrow{color:#286fa4}
html[data-theme="light"] .hero-trust span{color:#53606a}
html[data-theme="light"] .hero-trust svg{stroke:#334555}
html[data-theme="light"] .hero-note{background:rgba(255,252,246,.9);border-color:rgba(67,50,30,.15);box-shadow:0 15px 44px rgba(23,22,17,.13)}
html[data-theme="light"] .hero-note small{color:#516174;opacity:1}
html[data-theme="light"] .hero-handwritten{color:#fdf7ec;text-shadow:0 2px 18px rgba(21,20,17,.62)}
html[data-theme="light"] .btn-ghost{background:rgba(255,253,248,.88);border:1px solid rgba(45,44,40,.21);color:#172b3a;backdrop-filter:blur(12px)}
html[data-theme="light"] .btn-ghost:hover{background:#fff}

/* Compact, clearly readable fixed navigation without the old dark strip. */
html[data-theme="light"] .site-header{
  color:var(--wy-ink);
  background:linear-gradient(180deg,rgba(251,247,240,.96),rgba(251,247,240,.75) 67%,rgba(251,247,240,.02));
}
html[data-theme="light"] .site-header.scrolled{
  color:var(--wy-ink);
  background:rgba(251,247,240,.96);
  border-bottom:1px solid rgba(47,37,26,.12);
  box-shadow:0 7px 28px rgba(48,38,25,.07);
}
html[data-theme="light"] .site-header .mark-a{stroke:#162b38}
html[data-theme="light"] .site-header .mark-b{stroke:#258ce3}
html[data-theme="light"] .desktop-nav a:after{background:#2b83c9}
html[data-theme="light"] .phone-mini svg{stroke:#172b38}
html[data-theme="light"] .site-header .theme-toggle,
html[data-theme="light"] .site-header .lang-toggle,
html[data-theme="light"] .site-header .menu-toggle{
  color:#183041;
  background:rgba(255,255,255,.85);
  border:1px solid rgba(30,42,53,.11);
}
html[data-theme="light"] .mobile-menu{
  background:linear-gradient(150deg,#fffdf8,#f2e7d8 100%);
  color:#132433;
}
html[data-theme="light"] .mobile-menu-meta{color:#6f7882;opacity:1}
html[data-theme="light"] .mobile-menu-close{color:#172938}
html[data-theme="light"] .quick-request{
  background:rgba(255,252,247,.98);
  border:1px solid rgba(61,51,39,.15);
  color:#142636;
  box-shadow:0 22px 52px rgba(41,32,19,.13);
}
html[data-theme="light"] .request-tab{color:#5d6975}
html[data-theme="light"] .request-tab.active{color:#142636}
html[data-theme="light"] .request-fields label{background:#fff;border:1px solid rgba(44,42,36,.09)}
html[data-theme="light"] .request-footnote{color:#647079;opacity:1}

/* Alternating light section rhythm, not a flat sea of the same beige. */
html[data-theme="light"] .audience{background:#fffaf4}
html[data-theme="light"] .services{background:#fbf7f0}
html[data-theme="light"] .process-section{
  background:linear-gradient(180deg,#fffdf9 0%,#f7f0e7 100%);
}
html[data-theme="light"] .process-card{
  background:#fffdf9;
  border-color:var(--wy-line);
  box-shadow:0 12px 40px rgba(49,36,18,.045);
}
html[data-theme="light"] .process-note{background:#f4e9d9;border-color:var(--wy-line)}
html[data-theme="light"] .process-icon{background:#f0e6d8;color:#39749d}
html[data-theme="light"] .process-no{color:#806f5a}
html[data-theme="light"] .process-card p,html[data-theme="light"] .process-head p{color:#526273}

/* Sticky "A day with Wytafy": the previous .day-bg remained navy in light mode. */
html[data-theme="light"] .day-story{background:#f6ede2;color:#172737}
html[data-theme="light"] .day-bg{
  background:
    radial-gradient(circle at 75% 42%,rgba(219,188,151,.22),transparent 47%),
    radial-gradient(circle at 20% 85%,rgba(228,217,204,.4),transparent 43%),
    linear-gradient(155deg,#fffaf3,#f0e7dc);
}
html[data-theme="light"] .day-copy h2{color:#102130}
html[data-theme="light"] .day-copy h2 em{color:#947054!important}
html[data-theme="light"] .day-copy>p:not(.eyebrow):not(.section-index){color:#4e5c6b!important}
html[data-theme="light"] .day-progress{background:rgba(54,42,28,.15)}
html[data-theme="light"] .day-step,
html[data-theme="light"] .day-step.active{
  background:#fffdf8;
  color:#142638;
  border-color:rgba(62,47,28,.14);
  box-shadow:0 16px 48px rgba(52,40,23,.09);
}
html[data-theme="light"] .day-step-copy p{color:#596675}
html[data-theme="light"] .day-step-copy>span{color:#936c4c}
html[data-theme="light"] .day-ribbon-line{background:rgba(54,42,28,.17)}
html[data-theme="light"] .day-ribbon button{color:#65717b;background:none;border:0}
html[data-theme="light"] .day-ribbon button.active{color:#183d5f}
html[data-theme="light"] .day-ribbon button:before{background:#fffaf5;border-color:#b6a894}
html[data-theme="light"] .day-ribbon button.active:before{background:#2786cb;border-color:#fff}
html[data-theme="light"] .day-hand{color:#8f755c}

/* Our story card: rich cream and warm lines, no dark navy panel. */
html[data-theme="light"] .origin{background:#fbf7f0}
html[data-theme="light"] .origin-visual{
  color:#132432;
  background:linear-gradient(140deg,#fffcf6 2%,#eee0d0 100%);
  border:1px solid rgba(60,45,27,.14);
  box-shadow:0 18px 54px rgba(47,32,14,.08);
}
html[data-theme="light"] .origin-monogram span{color:#203342}
html[data-theme="light"] .origin-monogram b{color:#3c88b9}
html[data-theme="light"] .origin-quote{color:#183041!important}
html[data-theme="light"] .origin-proof{border-top-color:rgba(52,39,23,.15)}
html[data-theme="light"] .origin-proof strong{color:#4f5a65}
html[data-theme="light"] .origin-proof small{color:#806145}
html[data-theme="light"] .origin-visual .hand-note{color:#84694c}
html[data-theme="light"] .origin-monogram i{background:linear-gradient(90deg,transparent,rgba(100,81,59,.35),transparent)}

/* Care funding: turn the pitch-black result into a contrasting porcelain card. */
html[data-theme="light"] .pricing{background:#fffaf4}
html[data-theme="light"] .care-estimator{background:#f3e8d9;border-color:rgba(66,48,25,.13)}
html[data-theme="light"] .care-estimator:before{background:radial-gradient(circle,rgba(231,208,176,.4),transparent 70%)}
html[data-theme="light"] .care-estimator-result{
  background:linear-gradient(152deg,#fffdf9 0%,#f6ede2 100%);
  border:1px solid rgba(61,45,27,.15);
  color:#152d3a;
  box-shadow:0 13px 38px rgba(55,41,22,.09);
}
html[data-theme="light"] .care-result-overline{color:#655949}
html[data-theme="light"] .care-v16-emphasis strong,
html[data-theme="light"] .care-v16-emphasis strong.zero-result{color:#1e6549}
html[data-theme="light"] .care-v16-emphasis p,
html[data-theme="light"] .care-v16-emphasis small{color:#4f5d66;opacity:1}
html[data-theme="light"] .care-coverage{background:#e4d9c9}
html[data-theme="light"] .care-coverage-caption,
html[data-theme="light"] .care-result-row,
html[data-theme="light"] .care-result-context{color:#536472}
html[data-theme="light"] .care-result-row strong{color:#142a38}
html[data-theme="light"] .care-result-divider{background:rgba(62,45,25,.15)}
html[data-theme="light"] .care-conversion-warning{background:#fff5e6;border-color:#e6d3b3}
html[data-theme="light"] .care-conversion-warning p{color:#675541}

/* All remaining blocks: light does not mean bleached-out photography. */
html[data-theme="light"] .area-check{background:#fbf7f0}
html[data-theme="light"] .area-tool{background:linear-gradient(140deg,#fffdfa,#f2e7d8)}
html[data-theme="light"] .roadmap{background:#fffaf4}
html[data-theme="light"] .road-detail{background:#fffdf9;border-color:var(--wy-line)}
html[data-theme="light"] .transport-teaser{background:#f3e7d8;color:#142737}
html[data-theme="light"] .transport-teaser>img{filter:none!important;opacity:1!important}
html[data-theme="light"] .transport-overlay{
  background:linear-gradient(90deg,
    rgba(251,247,240,.98) 0%,
    rgba(251,247,240,.88) 30%,
    rgba(251,247,240,.45) 46%,
    rgba(251,247,240,.04) 67%,transparent 78%);
}
html[data-theme="light"] .transport-content p:not(.eyebrow){color:#4a5a68}
html[data-theme="light"] .transport-content h2 em{color:#8c6a50}
html[data-theme="light"] .transport-content .btn-light{background:#fffdf9;color:#102737;border:1px solid rgba(20,34,47,.15)}
html[data-theme="light"] .faq-experience{background:#fbf7f0}
html[data-theme="light"] .callback-section{background:#fffaf4}
html[data-theme="light"] .callback-card{background:#fffdf9;border-color:var(--wy-line)}
html[data-theme="light"] .contact-final{background:#f3e6d7;color:#122938}
html[data-theme="light"] .contact-final>img{filter:none!important;opacity:1!important}
html[data-theme="light"] .contact-overlay{
  background:linear-gradient(90deg,
    rgba(251,247,240,.98) 0%,
    rgba(251,247,240,.89) 32%,
    rgba(251,247,240,.48) 49%,
    rgba(251,247,240,.05) 68%,transparent 78%);
}
html[data-theme="light"] .contact-content>p:not(.eyebrow):not(.hand-note){color:#4f5d6a}
html[data-theme="light"] .contact-content h2{color:#132a39}
html[data-theme="light"] .contact-content .hand-note{color:#8e6e53}
html[data-theme="light"] .phone-cta{background:#fffdf9;border:1px solid rgba(20,35,47,.17);color:#183041}
html[data-theme="light"] .site-footer{
  background:#f2e7da;
  color:#162b3b;
  border-top:1px solid rgba(56,43,27,.14);
}
html[data-theme="light"] .footer-grid nav strong{color:#746b61}
html[data-theme="light"] .footer-grid nav a,
html[data-theme="light"] .footer-grid>div>p{color:#51616e}
html[data-theme="light"] .footer-bottom{border-color:rgba(55,43,29,.15);color:#65707b}
html[data-theme="light"] .footer-brand .mark-a{stroke:#203445}

/* Make the help panel visually part of light mode, without altering its logic. */
html[data-theme="light"] .wy-help-launch{background:#fffdf8;color:#193144;border:1px solid rgba(40,48,53,.15);box-shadow:0 12px 35px rgba(38,31,21,.14)}
html[data-theme="light"] .wy-help-launch svg{stroke:#227fbd}
html[data-theme="light"] .wy-help-panel{background:#fffdf8;color:#172c3b;border-color:rgba(45,41,34,.17);box-shadow:0 20px 70px rgba(38,31,21,.17)}
html[data-theme="light"] .wy-help-head{background:#f1e5d6;border-bottom:1px solid rgba(45,41,34,.1)}
html[data-theme="light"] .wy-help-head button{color:#172c3b}
html[data-theme="light"] .wy-help-reply{background:#f1e9dd;color:#203342}
html[data-theme="light"] .wy-help-sent{background:#e6f0f8;color:#19374d}
html[data-theme="light"] .wy-help-choices button,
html[data-theme="light"] .wy-help-link{background:#f6efe6;color:#2d566d;border:1px solid rgba(45,86,109,.18)}
html[data-theme="light"] .wy-help-input-row{border-top-color:rgba(48,41,31,.12)}
html[data-theme="light"] .wy-help-input-row input{background:#fff;color:#172b3a;border-color:rgba(43,45,43,.2)}
html[data-theme="light"] .wy-help-disclaimer{color:#5e6b76;opacity:1}
html[data-theme="light"] .mobile-cta-bar>a{background:#fffdf9;color:#193244;border:1px solid rgba(41,44,43,.16)}

@media (max-width:760px){
  /* Mobile: keep the top photograph naturally saturated and the copy on a
     cream base below. No full-image beige haze. */
  html[data-theme="light"] .hero-shade{
    background:
      linear-gradient(0deg,
        #fbf7f0 0%,
        rgba(251,247,240,1) 17%,
        rgba(251,247,240,.97) 35%,
        rgba(251,247,240,.82) 45%,
        rgba(251,247,240,.18) 62%,
        rgba(251,247,240,0) 77%);
  }
  html[data-theme="light"] .hero-copy{color:#142736}
  html[data-theme="light"] .hero-lead{color:#4c5c69}
  html[data-theme="light"] .hero-note{background:rgba(255,252,246,.94)}
  html[data-theme="light"] .hero-handwritten{color:#816d59;text-shadow:none}
  html[data-theme="light"] .site-header,
  html[data-theme="light"] .site-header.scrolled{
    background:rgba(251,247,240,.97)!important;
    border-bottom:1px solid rgba(50,42,31,.11)!important;
    color:#122838!important;
    box-shadow:0 4px 20px rgba(49,36,18,.065)!important;
  }
  html[data-theme="light"] .site-header .mark-a,
  html[data-theme="light"] .site-header.scrolled .mark-a{stroke:#172d3b!important}
  html[data-theme="light"] .site-header .brand-copy,
  html[data-theme="light"] .site-header.scrolled .brand-copy{color:#122838!important}
  html[data-theme="light"] .site-header .theme-toggle,
  html[data-theme="light"] .site-header.scrolled .theme-toggle,
  html[data-theme="light"] .site-header .menu-toggle,
  html[data-theme="light"] .site-header.scrolled .menu-toggle{
    background:rgba(255,255,255,.9)!important;
    border:1px solid rgba(42,43,42,.13)!important;
    color:#172d3b!important;
  }
  html[data-theme="light"] .transport-overlay,
  html[data-theme="light"] .contact-overlay{
    background:linear-gradient(0deg,
      rgba(251,247,240,.97) 0%,
      rgba(251,247,240,.95) 20%,
      rgba(251,247,240,.80) 40%,
      rgba(251,247,240,.16) 60%,
      rgba(251,247,240,0) 78%);
  }
  html[data-theme="light"] .day-ribbon button{color:#62707b;border:0;background:none}
  html[data-theme="light"] .day-ribbon button.active{color:#1e516e}
}

/* Keep the direct-call action readable against the cream hero. */
html[data-theme="light"] .hero-ctas .hero-call{
  color:#153047!important;
  border:1px solid rgba(34,48,56,.2)!important;
  background:rgba(255,253,248,.88)!important;
  border-radius:999px;
  padding:0 16px!important;
  text-decoration:none;
  text-shadow:none;
}
html[data-theme="light"] .hero-ctas .hero-call svg{stroke:#286e9a!important}
@media (max-width:760px){
  /* V19 uses !important on its mobile photo shade and text; override it
     explicitly in light mode so the older dark hero cannot shine through. */
  html[data-theme="light"] .hero-shade{
    background:linear-gradient(0deg,
      #fbf7f0 0%,
      rgba(251,247,240,.99) 22%,
      rgba(251,247,240,.94) 36%,
      rgba(251,247,240,.74) 47%,
      rgba(251,247,240,.13) 65%,
      rgba(251,247,240,0) 80%)!important;
  }
  html[data-theme="light"] .hero h1{color:#132736!important}
  html[data-theme="light"] .hero h1 em{color:#866345!important}
  html[data-theme="light"] .hero-lead{color:#455969!important}
  html[data-theme="light"] .hero .eyebrow{color:#246b9e!important}
  html[data-theme="light"] .hero-ctas .mobile-cost-link{
    color:#193041!important;
    border:1.35px solid rgba(40,47,47,.23)!important;
    background:rgba(255,253,248,.9)!important;
    box-shadow:0 7px 21px rgba(40,36,25,.08)!important;
    text-shadow:none!important;
  }
  html[data-theme="light"] .hero-ctas .hero-call{
    color:#193041!important;
    border:1.35px solid rgba(40,47,47,.23)!important;
    background:rgba(255,253,248,.9)!important;
    box-shadow:0 7px 21px rgba(40,36,25,.08)!important;
  }
}
