/* Codegenify V6 — single-theme premium system */
:root,[data-theme="light"],[data-theme="dark"]{
  color-scheme:light!important;--bg:#f6f7fb!important;--surface:#fff!important;--surface2:#eef2f8!important;
  --panel:#fff!important;--card:#fff!important;--text:#101828!important;--muted:#61708a!important;
  --line:#dce3ee!important;--brand:#6558e8!important;--brand2:#2684ff!important;--primary:#6558e8!important;
  --v3-bg:#f6f7fb!important;--v3-surface:#fff!important;--v3-surface-2:#eef2f8!important;
  --v3-ink:#101828!important;--v3-muted:#61708a!important;--v3-line:#dce3ee!important;
}
html,body{background:#f6f7fb!important;color:#101828!important}.theme-pull,.v4-theme-toggle,[data-v4-theme-toggle]{display:none!important}
.re-header{background:rgba(255,255,255,.9)!important;border-color:#e2e7f0!important;backdrop-filter:blur(18px)}
.re-brand img{filter:none!important}.re-nav__links a,.re-login{color:#546176!important}.re-nav__links a:hover,.re-nav__links a[aria-current="page"]{color:#101828!important}
.re-project,.btn.primary,.re-arrow-link--solid{background:linear-gradient(135deg,#6d5dfc,#287ff0)!important;color:#fff!important;box-shadow:0 12px 30px rgba(91,79,230,.22)!important}
.re-home{background:#f6f7fb!important;color:#101828!important}.re-hero{background:radial-gradient(circle at 87% 10%,rgba(72,205,193,.2),transparent 25%),#f6f7fb!important}
.re-hero__grid{background:linear-gradient(135deg,#f1efff 0%,#fff 48%,#e9faf6 100%)!important;border:1px solid #fff!important;box-shadow:0 28px 90px rgba(39,48,88,.1)!important}
.re-hero__statement h1,.re-hero__statement p,.re-index__head,.re-hero__index a{color:#111827!important}
.re-hero__index{background:rgba(255,255,255,.82)!important;border-color:#e3e6ef!important}.re-hero__index>a{background:#f5f7fb!important}.re-hero__index>a:hover{background:#fff!important}
.re-intro,.re-services,.re-products,.re-process{background:#f6f7fb!important;color:#101828!important}.re-kicker,.re-intro__copy,.re-products__head p,.re-process p{color:#66738a!important}
.re-service-row{border-color:#dce3ee!important;color:#101828!important}.re-service-row:hover{background:#fff!important}
.re-product-card,.re-product-card--dark,.re-product-card--light{background:#fff!important;color:#101828!important;border:1px solid #dce3ee!important;box-shadow:0 18px 55px rgba(25,36,67,.08)!important}
.re-product-card h3,.re-product-card p,.re-product-card a,.re-product-card__meta{color:#101828!important}.re-product-card p,.re-product-card__meta{color:#66738a!important}
.re-product-card__window{background:#eef2f8!important;border-color:#d6deeb!important}.re-window__body span,.re-window__body b{background:#dcd8ff!important}
.re-ecosystem{background:linear-gradient(135deg,#171b3a,#273260)!important;color:#fff!important}.re-ecosystem h2,.re-ecosystem p,.re-role-map b,.re-role-map small{color:#fff!important}
.re-role-map>div{border-color:rgba(255,255,255,.16)!important}.re-final__grid{color:#fff!important}.re-final__grid h2,.re-final__grid p{color:#fff!important}

/* Every public inner page uses one readable light system. */
body>main:not(.re-home):not(.dash):not(.cw-shell):not(.auth-v3-wrap):not(.auth-admin-shell){background:#f6f7fb!important;color:#101828!important}
body>main:not(.re-home):not(.dash):not(.cw-shell):not(.auth-v3-wrap):not(.auth-admin-shell)>.section:first-child,
.academy-hero,.intern-hero{background:radial-gradient(circle at 78% 20%,rgba(70,204,195,.22),transparent 30%),linear-gradient(135deg,#eeedff,#fff 52%,#e9f9f6)!important;color:#101828!important;border-radius:0 0 38px 38px!important}
body>main:not(.re-home) .h1,body>main:not(.re-home) h1,body>main:not(.re-home) h2,body>main:not(.re-home) h3,.academy-page .h1{color:#101828!important;-webkit-text-fill-color:#101828!important;text-shadow:none!important}
body>main:not(.re-home) .lead,body>main:not(.re-home) p{color:#61708a!important}
.card,.feature,.apply-card,.course-option-card,.success-panel{background:#fff!important;color:#101828!important;border-color:#dce3ee!important;box-shadow:0 16px 48px rgba(27,39,73,.07)!important}
.premium-products-hero .section-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end}.premium-products-hero .h1{max-width:980px;font-size:clamp(3.4rem,6vw,6.8rem)!important;line-height:.9!important;letter-spacing:-.065em!important}
.premium-products-hero__panel{background:rgba(255,255,255,.78)!important}.premium-products-hero__panel strong{color:#101828!important}.premium-products-hero__panel span{color:#65738b!important}
.premium-product-card{min-height:360px!important;padding:26px!important;border-radius:24px!important;display:flex!important;flex-direction:column!important}.premium-product-card h3{font-size:1.5rem!important}.premium-product-card .product-card-actions{margin-top:auto!important}
.premium-product-card--flagship{background:linear-gradient(145deg,#fff,#f0efff 58%,#e9faf7)!important}
.premium-demo-badge{color:#0f766e!important;background:#e8faf6!important;border-color:#b9eee4!important}

/* Live product explorer */
.product-explorer__backdrop{background:rgba(15,23,42,.7)!important}.product-explorer__dialog{background:#fff!important;color:#101828!important;border-color:#dce3ee!important;box-shadow:0 35px 100px rgba(3,10,28,.3)!important}
.product-explorer__top h3,.product-explorer__side-title,.product-explorer__canvas h4,.product-explorer__canvas h5,.demo-webapp *,.demo-mobileapp *{color:inherit}
.product-explorer__frame{background:#eef2f8!important;border-color:#d7deea!important}.product-explorer__browserbar{background:#dce3ee!important}.product-explorer__list div,.product-explorer__screenlist button{background:#f7f8fb!important;color:#101828!important;border-color:#dce3ee!important}
.product-explorer__screenlist button span,.product-explorer__mini-note{color:#61708a!important}.product-explorer__screenlist button.is-active{background:#efedff!important;border-color:#776af2!important}
.demo-webapp{background:#f8fafc!important;color:#101828!important}.demo-webapp__sidebar{background:#171b3a!important;color:#fff!important}.demo-webapp__sidebar button{color:#cbd3e6!important}.demo-webapp__sidebar button.is-active{background:#6d5dfc!important;color:#fff!important}
.product-explorer__canvas>.demo-webapp,.product-explorer__canvas>.demo-mobileapp,.product-explorer__canvas>.demo-launcher{grid-column:1/-1!important;width:100%!important;min-width:0!important}
.demo-webapp__main,.demo-card,.demo-kpi,.demo-profile-card,.demo-kanban__col{background:#fff!important;color:#101828!important}.demo-toast{color:#0f766e!important;background:#e9fbf6!important}
.demo-phone{background:#101522!important}.demo-phone__screen{background:#f8fafc!important;color:#101828!important}.demo-phone__nav{background:#fff!important}.demo-phone__nav button{color:#65738b!important}.demo-phone__nav button.is-active{color:#6255e7!important}

/* About and service storytelling */
.about-v6__hero,.service-v6__hero{padding:96px 0 70px}.about-v6__eyebrow,.service-v6__eyebrow{display:inline-flex;padding:8px 12px;border:1px solid #cfc9ff;border-radius:999px;color:#6558e8;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.about-v6__hero h1,.service-v6__hero h1{max-width:1050px;margin:24px 0;font-size:clamp(3.7rem,7vw,7.6rem);line-height:.88;letter-spacing:-.07em}.about-v6__hero p,.service-v6__hero p{max-width:760px;font-size:1.2rem;line-height:1.7}
.about-v6__stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin-top:55px;background:#dce3ee;border:1px solid #dce3ee;border-radius:24px;overflow:hidden}.about-v6__stats div{padding:26px;background:#fff}.about-v6__stats b{display:block;font-size:2rem;color:#101828}.about-v6__stats span{color:#68758b}
.about-v6__grid,.service-v6__grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.about-v6__panel,.service-v6__copy,.service-v6__visual{padding:34px;border:1px solid #dce3ee;border-radius:28px;background:#fff;box-shadow:0 18px 60px rgba(30,42,75,.07)}
.about-v6__panel--ink{background:#171b3a;color:#fff}.about-v6__panel--ink h2,.about-v6__panel--ink p,.about-v6__panel--ink li{color:#fff!important}.about-v6__values{display:grid;gap:14px;margin-top:24px}.about-v6__values div{padding:16px 0;border-top:1px solid #dce3ee}.about-v6__values b{display:block;margin-bottom:5px}
.service-v6__visual{background:linear-gradient(145deg,#171b3a,#25315d);color:#fff}.service-v6__visual h3,.service-v6__visual p{color:#fff!important}.service-v6__screen{margin-top:24px;padding:16px;border-radius:20px;background:#fff;color:#101828}.service-v6__screen header{display:flex;gap:6px;padding-bottom:12px;border-bottom:1px solid #e3e8f1}.service-v6__screen header i{width:8px;height:8px;border-radius:50%;background:#6d5dfc}.service-v6__mockgrid{display:grid;grid-template-columns:1.4fr .8fr;gap:10px;margin-top:12px}.service-v6__mockgrid div{min-height:110px;padding:14px;border-radius:14px;background:#f1f4f9}.service-v6__mockgrid div:first-child{background:linear-gradient(135deg,#6d5dfc,#36b9ad);color:#fff}.service-v6__steps{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.service-v6__steps article{padding:22px;border:1px solid #dce3ee;border-radius:20px;background:#fff}.service-v6__steps span{color:#6558e8;font-weight:850}

/* Footer stays dark by design, but all content is forced readable. */
.re-footer{background:#0f1426!important;color:#fff!important}.re-footer h2,.re-footer b,.re-footer__grid nav b{color:#fff!important}.re-footer p,.re-footer span,.re-footer a,.re-footer__grid nav a{color:#b9c2d5!important}.re-footer__lead>a{color:#fff!important}.re-footer__brand img{filter:brightness(0) invert(1)!important;opacity:1!important}

/* Portal/admin — light work area + reliable collapse control. */
.portal-v3,.admin-v3{background:#f6f7fb!important;color:#101828!important}.portal-v3 .nav{background:#fff!important;border-color:#dce3ee!important}.portal-v3 .footer{background:#fff!important;color:#101828!important;border-top:1px solid #dce3ee!important}.portal-v3 .footer *{color:#4f5e76!important}
.admin-side{background:linear-gradient(180deg,#171b3a,#202851)!important}.admin-main{background:#f6f7fb!important;color:#101828!important}.admin-topbar{background:rgba(255,255,255,.92)!important;border-color:#dce3ee!important}
.sidebar-collapsed .admin-collapse{display:grid!important;position:absolute!important;right:-14px!important;top:18px!important;z-index:5;background:#fff!important;color:#1d2540!important;border-color:#dce3ee!important;box-shadow:0 8px 22px rgba(10,18,40,.2)!important}.sidebar-collapsed .admin-collapse span{transform:rotate(180deg)}
.admin-nav__icon{font-size:0!important;color:#dbe2f5!important}.admin-nav__icon::before{content:"";width:16px;height:16px;background:currentColor;mask:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h6v6H4V4Zm10 0h6v6h-6V4ZM4 14h6v6H4v-6Zm10 0h6v6h-6v-6Z'/%3E%3C/svg%3E")}
.admin-nav a[href*="services"] .admin-nav__icon::before,.admin-nav a[href*="products"] .admin-nav__icon::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m12 2 9 5-9 5-9-5 9-5Zm-9 9 9 5 9-5v6l-9 5-9-5v-6Z'/%3E%3C/svg%3E")}
.admin-nav a[href*="users"] .admin-nav__icon::before,.admin-nav a[href*="applications"] .admin-nav__icon::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10ZM3 22a9 9 0 0 1 18 0H3Z'/%3E%3C/svg%3E")}
.admin-nav a[href*="settings"] .admin-nav__icon::before,.admin-nav a[href*="permissions"] .admin-nav__icon::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19.4 13a7.8 7.8 0 0 0 0-2l2-1.6-2-3.4-2.5 1a8 8 0 0 0-1.7-1L15 3h-4l-.4 3a8 8 0 0 0-1.7 1L6.4 6l-2 3.4 2 1.6a7.8 7.8 0 0 0 0 2l-2 1.6 2 3.4 2.5-1a8 8 0 0 0 1.7 1l.4 3h4l.4-3a8 8 0 0 0 1.7-1l2.5 1 2-3.4-2-1.6ZM13 15.5A3.5 3.5 0 1 1 13 8a3.5 3.5 0 0 1 0 7.5Z'/%3E%3C/svg%3E")}
.portal-side-collapse{position:fixed;z-index:80;left:246px;top:96px;width:38px;height:38px;border:1px solid #dce3ee;border-radius:12px;background:#fff;color:#101828;box-shadow:0 10px 28px rgba(20,30,60,.15);cursor:pointer;transition:left .28s ease}.portal-side-collapse::before{content:'‹';font-size:24px}.portal-collapsed .portal-side-collapse{left:62px}.portal-collapsed .portal-side-collapse::before{content:'›'}
@media(min-width:981px){.portal-collapsed .dash{grid-template-columns:86px minmax(0,1fr)!important}.portal-collapsed .dash .side{width:86px!important;padding-inline:10px!important}.portal-collapsed .dash .side .side-title,.portal-collapsed .dash .side>small,.portal-collapsed .dash .side .profile-chip,.portal-collapsed .dash .side .hr{display:none!important}.portal-collapsed .dash .side a{font-size:0!important;justify-content:center!important;padding:12px!important}.portal-collapsed .cw-shell{grid-template-columns:86px minmax(0,1fr)!important}.portal-collapsed .cw-sidebar{width:86px!important;padding-inline:10px!important}.portal-collapsed .cw-sidebar>*:not(nav){display:none!important}.portal-collapsed .cw-sidebar a{font-size:0!important}}
@media(max-width:980px){.portal-side-collapse{display:none}.premium-products-hero .section-head,.about-v6__grid,.service-v6__grid{grid-template-columns:1fr}.about-v6__stats,.service-v6__steps{grid-template-columns:1fr 1fr}.premium-products-hero .h1{font-size:clamp(3rem,11vw,5rem)!important}}
@media(max-width:620px){.about-v6__stats,.service-v6__steps{grid-template-columns:1fr}.about-v6__hero h1,.service-v6__hero h1{font-size:clamp(3.2rem,16vw,5rem)}.re-nav__links{display:none!important}}
