/* E-Adhyayan — violet and coral visual system. */
body {
  --navy: #20202b;
  --navy-2: #27223f;
  --ink: #242332;
  --text: #5d5a6a;
  --muted: #716b7e;
  --blue: #7034c5;
  --blue-2: #8b29cf;
  --indigo: #6033b6;
  --teal: #bc2275;
  --cyan: #eb98c5;
  --orange: #ee6652;
  --off-white: #faf8fe;
  --soft-blue: #f3edfb;
  --soft-teal: #fff1f7;
  --line: #e8e1ef;
  --sol-blue: #7034c5;
  --sol-navy: #242332;
  --sol-text: #5d5a6a;
  --sol-off: #faf8fe;
  --shadow: 0 20px 65px #61369b14;
  font-family: Inter,Arial,sans-serif;
  background: white;
}
body .site-header {
  top: 18px;
  left: 50%;
  right: auto;
  width: min(1360px,calc(100% - 48px));
  transform: translateX(-50%);
  border: 1px solid #f2edf6;
  border-radius: 20px;
  background: #fffffff5;
  box-shadow: 0 8px 28px #39235314;
  backdrop-filter: blur(16px);
}
body .header-inner { min-height: 76px; width: 100%; padding: 0 22px; gap: 20px; }
body .brand-logo { width: 153px; height: auto; }
body .main-nav { gap: 20px; }
body .main-nav a { color: #302d39; font-size: 13px; }
body .main-nav a.active,body .main-nav a:hover { color: #7734c6; }
body .main-nav a::after { background: linear-gradient(90deg,#6b31cb,#d42b79); }
body .btn { border-radius: 999px; min-height: 48px; padding: 13px 24px; font-size: 14px; }
body .btn.btn-primary {
  background: linear-gradient(105deg,#6330ce,#9e28bd 60%,#bf2377);
  border: 1px solid transparent;
  color: white;
  box-shadow: 0 6px 18px #7931bd24;
}
body .btn.btn-primary:hover { background: linear-gradient(105deg,#4e21b0,#97216b); transform: translateY(-2px); }
body .btn.btn-secondary { background: #ffffffbf; border: 1px solid #dfd3ed; color: #57318c; box-shadow: none; }
body .btn-small { min-height: 40px; padding: 10px 17px; font-size: 12px; }
body section:is(.hero,.about-hero,.cs-hero,.pf-hero,.res-hero,.contact-hero,.solutions-hero) {
  background: radial-gradient(ellipse at 78% 35%,#fce5f6 0%,transparent 55%),
              radial-gradient(ellipse at 28% 95%,#e8e3ff 0%,transparent 55%),#fdfcff;
  border-bottom: 1px solid #eee7f6;
}
body .hero { min-height: 790px; padding: 164px 0 76px; }
body .hero-grid { grid-template-columns: minmax(0,1.65fr) minmax(300px,1fr); gap: 65px; align-items: center; }
body section :is(.hero-content,.about-hero-content,.cs-hero-content,.pf-hero-content,.res-hero-content,.contact-hero-content,.inner-hero-content) h1 {
  font-family: Inter,Arial,sans-serif;
  font-size: clamp(38px,4.1vw,62px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.045em;
  color: #25232c;
  text-wrap: balance;
}
body .hero h1 { max-width: 770px; }
body section :is(.hero-content,.about-hero-content,.cs-hero-content,.pf-hero-content,.res-hero-content,.contact-hero-content,.inner-hero-content) h1 span {
  color: #b2277f;
  background: linear-gradient(100deg,#8235d1 0%,#d52274 50%,#f07643 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}
body .hero-description { font-size: 17px; line-height: 1.8; max-width: 620px; margin-top: 24px; }
body .eyebrow { color: #6d398f; background: #ffffffc9; border: 1px solid #dfcdea; border-radius: 99px; padding: 9px 15px; font-size: 10px; letter-spacing: .09em; }
body .hero-trust { gap: 24px; border-top: 1px solid #e4d9eb; padding-top: 24px; margin-top: 32px; }
body .hero-trust strong { font-size: 12px; }
body .hero-trust span { color: #6e667a; }
body .hero-glow { opacity: .12; pointer-events: none; }
.ea-product-panel { padding: 28px; background: #ffffffec; border: 1px solid #eee5f5; border-radius: 20px; box-shadow: 0 18px 70px #8b51b81c; }
.ea-product-panel h2 { font-size: 14px; font-weight: 500; color: #686171; margin: 0 0 15px; }
.ea-product-link { display: grid; grid-template-columns: 35px minmax(0,1fr) 14px; gap: 12px; padding: 21px 0; border-top: 1px solid #eee8f3; align-items: start; }
.ea-product-link strong { display: block; font-size: 21px; letter-spacing: -.04em; color: #302638; margin-bottom: 7px; }
.ea-product-link small { display: block; font-size: 13px; line-height: 1.65; color: #716679; }
.ea-product-link:hover strong { color: #9632ba; }
.ea-product-link>span:last-child { color: #9b57ba; }
.ea-product-icon { font-size: 30px; line-height: 1.3; color: #d63f85; }
.ea-product-link:nth-of-type(2) .ea-product-icon { color: #ed7750; }
.ea-product-link:nth-of-type(3) .ea-product-icon { color: #7c40c2; }
body .section { padding: 88px 0; }
body .section h2 { font-family: Inter,Arial,sans-serif; font-weight: 700; letter-spacing: -.045em; line-height: 1.16; }
body .section-tag { color: #8940ad; letter-spacing: .13em; font-size: 11px; }
body :is(.solutions-section,.audience-section,.res-topics,.about-purpose,.contact-services) { background: #faf7fe; }
body :is(.ea-media-card,.ea-stage,.additional-card,.res-guide-card,.pf-category-card,.contact-form-card) { border-color: #e9e0f0; border-radius: 18px; box-shadow: 0 8px 28px #763e9e0c; }
body .ea-media-card:hover { box-shadow: 0 16px 40px #763e9e20; }
body .ea-card-copy { padding: 26px; }
body .ea-details { border-top-color: #e9e0f0; }
body .ea-details summary { color: #7338a8; }
body .ea-media-tag { background: #48216ac9; border-color: #d5b5e955; }
body .ea-audience { background: #30203f; border-color: #5c3970; }
body .ea-audience-copy>div { color: #e5b6fa; }
body .ea-showcase-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
body .ea-showcase-copy h2 { font-size: clamp(32px,3.2vw,46px); margin: 18px 0; }
body .ea-showcase-copy p { color: #6c6275; line-height: 1.8; margin-bottom: 26px; }
body .ea-studio-showcase .studio-window { border-color: #e6d9f2; box-shadow: 0 22px 60px #743caa20; }
body :is(.cta-box,.about-final-box,.contact-final-box,.res-final-box,.cs-final-box,.pf-final-box) { background: radial-gradient(ellipse at 100% 0,#af3aa755,transparent 60%),linear-gradient(120deg,#292044,#4b1b68); border: 1px solid #a36bc443; border-radius: 26px; }
body .site-footer { background: #21172f; }
body :is(a,button,summary,input,textarea,select):focus-visible { outline: 3px solid #9c45cb; outline-offset: 4px; }
@media(max-width:1200px) {
  body .header-inner { gap: 14px; }
  body .main-nav { gap: 13px; }
  body .main-nav a { font-size: 12px; }
  body .brand-logo { width: 130px; }
  body .hero-grid { gap: 35px; }
}
@media(max-width:1000px) {
  body .hero-grid { grid-template-columns: 1fr; }
  body .hero-content { max-width: 760px; }
  .ea-product-panel { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px; }
  .ea-product-panel h2 { grid-column: 1/-1; }
  body .ea-showcase-grid { grid-template-columns: 1fr; gap: 44px; }
  body .ea-studio-showcase .hero-visual { max-width: 650px; width: 100%; margin: auto; }
}
@media(max-width:760px) {
  body .site-header { top: 10px; width: calc(100% - 24px); border-radius: 15px; }
  body .header-inner { min-height: 65px; padding: 0 14px; }
  body .main-nav { border: 1px solid #e9e0f0; background: white; border-radius: 0 0 16px 16px; }
  body .main-nav a { font-size: 14px; padding: 11px; }
  body .hero { min-height: 0; padding: 130px 0 55px; }
  body section:is(.about-hero,.cs-hero,.pf-hero,.res-hero,.contact-hero,.solutions-hero) { padding-top: 130px; }
  body .hero h1 { font-size: clamp(36px,7vw,50px); }
  body .hero-description { font-size: 15px; }
  body .section { padding: 60px 0; }
  body .hero-trust { flex-wrap: wrap; gap: 20px; }
}
@media(max-width:520px) {
  .ea-product-panel { display: block; padding: 22px; }
  .ea-product-link { padding: 19px 0; }
  body .hero-buttons { display: flex; flex-direction: column; align-items: stretch; }
  body .hero-buttons .btn { justify-content: center; }
  body .eyebrow { font-size: 8px; letter-spacing: .07em; }
  body .ea-studio-showcase .floating-card { font-size: 10px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  body .reveal { opacity: 1; transform: none; transition: none; }
  body .ea-live-studio * { animation: none !important; }
}
@media(max-width:850px) {
  body .main-nav { top: calc(100% + 10px); height: auto; max-height: calc(100dvh - 110px); visibility: hidden; pointer-events: none; transform: translateY(-8px); opacity: 0; transition: opacity .2s,transform .2s,visibility .2s; padding: 20px; gap: 8px; }
  body .main-nav.open { visibility: visible; pointer-events: auto; transform: translateY(0); opacity: 1; }
}
body :is(.studio-section,.panchaadi-section) { background: #faf6ff; }
body .studio-section :is(h2,p,.check-list li) { color: #30253c; }
body .studio-section .section-tag { color: #873cae; }
body .studio-section .studio-flow-card { background: #fff; border-color: #e5d6ef; }
body .studio-section .feature-list { color: #51445f; }
body .studio-section .workflow-card { background: #342044; }

/* Explicit foregrounds for dark call-to-action surfaces. */
body :is(.cta-box,.about-final-box,.contact-final-box,.res-final-box,.cs-final-box,.pf-final-box) {
  color: #ffffff;
}
body :is(.cta-box,.about-final-box,.contact-final-box,.res-final-box,.cs-final-box,.pf-final-box) :is(h2,h2 span) {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}
body :is(.cta-box,.about-final-box,.contact-final-box,.res-final-box,.cs-final-box,.pf-final-box) p {
  color: #eee5f5;
}
body :is(.cta-box,.about-final-box,.contact-final-box,.res-final-box,.cs-final-box,.pf-final-box) .section-tag {
  color: #f1c5ff;
}
body :is(.cta-box,.about-final-box,.contact-final-box,.res-final-box,.cs-final-box,.pf-final-box) .btn-secondary {
  background: #ffffff;
  color: #592c85;
  border-color: #ffffff;
}
body .why-section .section-tag { color: #f1c5ff; }
body .why-section :is(.why-content p,.why-point p) { color: #e1e4ef; }
body .studio-section .workflow-card :is(p,small) { color: #eee5f5; }
