/* Swayam Digital — Design 4 exact-reference polish. Presentation only. */
:root{--d4x-blue:#1557c7;--d4x-cyan:#18bfd8;--d4x-navy:#081d3b;--d4x-ink:#122b49;--d4x-muted:#6f8294;--d4x-line:#d9e8ef;--d4x-bg:#f6fbfd}
body.d4-site{background:#fff;color:var(--d4x-ink)}
.d4-site .container{width:min(1180px,calc(100% - 44px))}
.d4-site .topbar{height:24px}.d4-site .topbar-in{min-height:24px;font-size:8px}
.d4-site .nav{top:0;background:rgba(255,255,255,.99)}.d4-site .navin{min-height:58px;gap:17px}.d4-site .nav .brand{font-size:16px!important;letter-spacing:-.4px}.d4-site .navlinks{gap:16px;font-size:9px}.d4-site .navlinks a{font-weight:500}.d4-site .navcta{min-height:31px;padding:7px 13px;border-radius:9px;font-size:8px}
.d4-site .hero,.d4-site .pagehero{margin:0 26px;border-radius:0;border:1px solid #dff0f5;background:linear-gradient(105deg,#eefcff 0%,#e7faff 60%,#f8feff 100%)}
.d4-site .hero-grid{min-height:466px;grid-template-columns:1.04fr .96fr}.d4-site .hero-copy{padding:56px 0}.d4-site .hero h1{font-size:clamp(43px,4.8vw,64px);line-height:.99;letter-spacing:-2.5px;max-width:600px;color:#112b48}.d4-site .hero p{font-size:10px;max-width:480px;line-height:1.7}.d4-site .eyebrow{font-size:7px;padding:5px 9px;background:#f9feff}.d4-site .hero-visual{position:relative;align-items:center;padding:30px 0}.d4-site .hero-visual img{height:365px;border-radius:0 0 0 100px;object-position:center;filter:saturate(.96)}
.d4-site .hero-visual:before{content:"4.9 ★\A Learner rating";white-space:pre;position:absolute;right:6%;top:22%;z-index:2;background:#fff;border:1px solid #e0edf2;border-radius:9px;padding:8px 10px;font-size:7px;line-height:1.45;color:#314f6b;box-shadow:0 7px 20px rgba(10,50,85,.08)}
.d4-site .hero-visual:after{content:"Only ₹219/-";position:absolute;left:4%;bottom:25%;z-index:2;background:#fff;border:1px solid #e0edf2;border-radius:9px;padding:8px 10px;font-size:8px;font-weight:700;color:#1557c7;box-shadow:0 7px 20px rgba(10,50,85,.08)}
.d4-site .mini-points{gap:18px;margin-top:22px}.d4-site .mini-points div{font-size:7px}.d4-site .mini-points b{font-size:8px}.d4-site .actions{margin-top:19px}.d4-site .btn{min-height:33px;padding:7px 14px;font-size:8px;border-radius:8px}
.d4-site .marquee{min-height:29px;font-size:7px;letter-spacing:1px}
.d4-site .section{padding:48px 0}.d4-site .section h2{font-size:clamp(26px,3vw,38px);letter-spacing:-1.2px}.d4-site .lead{font-size:9px;line-height:1.7}.d4-site .kicker{font-size:7px;letter-spacing:1px}
.d4-site .course-card,.d4-site .course-feature,.d4-site .card,.d4-site .faq details,.d4-site .legal-editor{box-shadow:0 6px 20px rgba(9,49,83,.06)}
.d4-site .course-card{border-radius:10px}.d4-site .course-card .course-body{min-height:94px}.d4-site .course-body h3{font-size:9px}.d4-site .course-card .price{font-size:11px}.d4-site .course-card .course-btn{font-size:7px}.d4-site .earning{border-radius:10px}
.d4-site .pagehero{padding:45px 0 39px;min-height:176px}.d4-site .pagehero .container{position:relative;z-index:1}.d4-site .pagehero h1{font-size:clamp(33px,4vw,50px);letter-spacing:-2px;max-width:780px}.d4-site .pagehero .lead{font-size:9px;max-width:610px}.d4-site .pagehero .container:after{content:"◎";position:absolute;right:2%;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:76px;height:76px;border-radius:50%;background:rgba(255,255,255,.86);border:1px solid #dceff4;color:#1557c7;font-size:24px;box-shadow:0 7px 20px rgba(9,49,83,.05)}
.d4-courses .course-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.d4-courses .course-feature{grid-template-columns:170px 1fr;min-height:160px;padding:12px;gap:16px}.d4-courses .course-feature img{height:136px;border-radius:8px}.d4-courses .course-feature h2{font-size:16px}.d4-courses .course-feature .fee{font-size:14px}.d4-courses .tag{font-size:7px}
.d4-how .steps{gap:11px}.d4-how .step.card{grid-template-columns:50px 1fr;padding:15px 18px;border-radius:9px}.d4-how .step h3{font-size:9px}.d4-how .step p{font-size:7px}.d4-how .step-icon{width:37px;height:37px;font-size:14px}
.d4-faq .faq-layout{grid-template-columns:315px minmax(0,1fr);gap:21px}.d4-faq .faq-intro-card{min-height:220px;border-radius:13px;padding:24px}.d4-faq .faq-intro-card h2{font-size:21px}.d4-faq .faq-intro-card p{font-size:8px}.d4-faq .faq details{padding:12px 14px;border-radius:8px}.d4-faq .faq summary{font-size:8px}.d4-faq .faq p{font-size:7px}
.d4-contact .contact-grid{grid-template-columns:.72fr 1.28fr;gap:22px}.d4-contact .card{border-radius:10px;padding:20px}.d4-contact .contact-info h2{font-size:24px}.d4-contact .contact-item{font-size:8px;padding:10px 0}.d4-contact .contact-form label{font-size:8px}.d4-contact .contact-form input,.d4-contact .contact-form textarea{font-size:9px;padding:9px 10px;border-radius:7px}
.d4-legal .legal-layout{grid-template-columns:205px minmax(0,1fr);gap:20px}.d4-legal .legal-nav{top:76px;border-radius:10px;padding:9px}.d4-legal .legal-nav a{font-size:7px;padding:8px 9px}.d4-legal .legal-editor{min-height:520px;border-radius:10px;padding:27px 32px}.d4-legal .legal-editor h2{font-size:15px}.d4-legal .legal-editor h3{font-size:9px}.d4-legal .legal-editor p{font-size:7px;line-height:1.75}
.d4-thanks .thank{min-height:640px;padding:90px 0;background:linear-gradient(180deg,#eefcff,#fff)}.d4-thanks .thank .container{max-width:540px;border-radius:16px;padding:46px 42px}.d4-thanks .thank h1{font-size:29px}.d4-thanks .thank p{font-size:9px}
.d4-site .footer{padding:27px 0 11px}.d4-site .footer-grid{font-size:8px}.d4-site .footer .brand{font-size:14px}.d4-site .footer a{font-size:7px}
@media(max-width:980px){.d4-site .container{width:min(100% - 28px,1180px)}.d4-site .hero,.d4-site .pagehero{margin:0 12px}.d4-site .hero-grid{grid-template-columns:1fr 1fr}.d4-faq .faq-layout{grid-template-columns:260px 1fr}.d4-legal .legal-layout{grid-template-columns:180px 1fr}}
@media(max-width:760px){.d4-site .navin{min-height:60px}.d4-site .nav-toggle{display:grid}.d4-site .hero,.d4-site .pagehero{margin:0;border-left:0;border-right:0}.d4-site .hero-grid{grid-template-columns:1fr}.d4-site .hero-copy{padding:42px 0 18px}.d4-site .hero h1{font-size:42px}.d4-site .hero-visual{padding:0;justify-content:center}.d4-site .hero-visual img{height:290px;max-width:560px;border-radius:24px 24px 0 0}.d4-site .hero-visual:before{right:8%;top:10%}.d4-site .hero-visual:after{left:8%;bottom:14%}.d4-site .pagehero .container:after{width:58px;height:58px;right:1%;opacity:.65}.d4-courses .course-list,.d4-faq .faq-layout,.d4-contact .contact-grid,.d4-legal .legal-layout{grid-template-columns:1fr}.d4-courses .course-feature{grid-template-columns:150px 1fr}.d4-legal .legal-nav{position:static;grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.d4-site .container{width:min(100% - 18px,1180px)}.d4-site .hero h1{font-size:35px}.d4-site .pagehero h1{font-size:32px;max-width:78%}.d4-site .pagehero .container:after{right:0}.d4-courses .course-feature{grid-template-columns:1fr}.d4-courses .course-feature img{height:auto}.d4-site .hero-visual:before{right:2%;top:7%}.d4-site .hero-visual:after{left:2%;bottom:8%}.d4-thanks .thank .container{padding:32px 18px}}


/* 2026-09-14 approved earning-strip wording responsiveness */
.d4-home .earning-item{min-width:0}
.d4-home .earning-item .earn-number{white-space:normal!important;overflow-wrap:anywhere;line-height:1.15}
.d4-home .earning-item small{line-height:1.35}
@media(max-width:920px){.d4-home .earning{grid-template-columns:1.1fr 1fr 1fr}.d4-home .earn-number{font-size:15px!important}}
@media(max-width:680px){.d4-home .earning{grid-template-columns:1fr!important}.d4-home .earning-intro,.d4-home .earning-item{text-align:left}.d4-home .earn-number{font-size:18px!important}}
