/*
   RegulaCore EHS graphite standard
   Shared only by EHS marketing pages to prevent legacy navy fallbacks.
*/
:root{
    --ehs-graphite:#26323d;
    --ehs-graphite-mid:#2b3945;
    --ehs-graphite-deep:#22303a;
    --ehs-line:#465565;
    --ehs-soft-line:rgba(216,224,232,.16);
    --ehs-teal:#35b4b6;
    --ehs-teal-deep:#249da0;
    --ehs-silver:#d8e0e8;
    --ehs-muted:#aebdcc;
}

html,
body{
    background:var(--ehs-graphite)!important;
    color:#f8fafc!important;
    font-family:"Inter","Avenir Next","Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif!important;
    font-weight:400!important;
    letter-spacing:0!important;
}

:where(.hero h1,.industry-hero h1,.section h2,.section-head h2,.cta h2,.explorer-heading,.workflow-map h3,.audit-pack h3,.implementation-copy h3,.resilience-card h3){
    font-weight:600!important;
    letter-spacing:-.024em!important;
}

:where(.hero p,.hero-sub,.section p,.section-copy,.explorer-copy,.card p,.outcome p,.step p,.resilience-card p,.implementation-copy p,.timeline-card li,.field-ready-list li){
    font-weight:400!important;
    letter-spacing:0!important;
}

:where(.card h3,.card h4,.feature-body h4,.outcome h3,.step h4,.resilience-card h3,.timeline-card h4,.compliance-card h3){
    font-weight:580!important;
    letter-spacing:-.012em!important;
}

:where(.btn,.nav-center a,.nav-right .btn,.overview-btn,.agency-action-btn,.proof-pill,.sync-status,.section-badge,.hero-badge,.kicker){
    font-weight:600!important;
}

:where(.preview-metrics strong,.hud-kpis strong,.sla-strip strong,.solves-metric strong){
    font-weight:600!important;
    letter-spacing:-.018em!important;
}

.main-nav{
    background:var(--ehs-graphite)!important;
    border-bottom:1px solid var(--ehs-line)!important;
    box-shadow:0 1px 20px rgba(0,0,0,.16)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
}

.nav-logo,
.nav-center a,
.nav-right a{
    color:#f8fafc!important;
}

.nav-center a:hover,
.nav-center a.active{
    color:#fff!important;
    background:rgba(53,180,182,.16)!important;
}

.nav-mark{
    background:url('RC.png') center / contain no-repeat!important;
    color:transparent!important;
    font-size:0!important;
}

.nav-mark .mark-c{
    color:transparent!important;
}

.mark-c,
[data-brand="core"],
.brand-core{
    color:var(--ehs-teal)!important;
}

.btn,
.nav-right .btn{
    border-radius:7px!important;
    font-weight:600!important;
}

.btn-primary{
    color:#fff!important;
    background:linear-gradient(135deg,var(--ehs-teal),var(--ehs-teal-deep))!important;
    box-shadow:0 10px 28px rgba(53,180,182,.22)!important;
}

.btn-primary:hover{
    box-shadow:0 16px 38px rgba(53,180,182,.32)!important;
}

.btn-secondary,
.btn-ghost,
.btn-outline{
    color:#f8fafc!important;
    background:rgba(255,255,255,.045)!important;
    border:1px solid rgba(216,224,232,.24)!important;
    box-shadow:none!important;
}

.hero,
.hero-carousel,
.section,
.section.alt,
.modules,
.phone-showcase,
.phone-showcase-inner,
.explorer-section,
.solves-section,
.workflow-section,
.implementation-map-section,
.resilience-section,
.industry-benefits-section,
.compact-info-section,
.cta,
.site-footer,
footer{
    background:
        radial-gradient(circle at 18% 0%, rgba(53,180,182,.12), transparent 32%),
        linear-gradient(135deg,var(--ehs-graphite) 0%,var(--ehs-graphite-mid) 50%,var(--ehs-graphite-deep) 100%)!important;
}

.hero::after,
.hero-carousel::after,
.explorer-section::before,
.solves-section::before,
.workflow-section::before,
.implementation-map-section::before,
.industry-benefits-section::before,
.compact-info-section::before,
.cta::before{
    background-image:
        linear-gradient(rgba(216,224,232,.055) 1px,transparent 1px),
        linear-gradient(90deg,rgba(216,224,232,.055) 1px,transparent 1px)!important;
}

.hero::before,
.industry-hero::before{
    filter:saturate(.82) contrast(.98) hue-rotate(10deg)!important;
}

.hero h1,
.hero h2,
.section h2,
.section h3,
.cta h2{
    color:#f8fafc!important;
}

.hero p,
.hero-sub,
.section p,
.cta p,
.card p,
.outcome p,
.step p{
    color:var(--ehs-silver)!important;
}

.kicker,
.hero-badge,
.section-badge,
.explorer-kicker,
.bundle-label,
.card a,
.feature-body a,
.bundle-link{
    color:#9fe7e8!important;
}

.card,
.module-card,
.feature-card,
.solve-card,
.industry-benefit-card,
.compliance-card,
.outcome,
.step,
.dark-panel,
.audit-pack,
.workflow-map,
.explorer-brief,
.site-risk-hud,
.ehs-hero-preview,
.hero-card,
.phone-frame,
.module-panel{
    background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035))!important;
    border-color:var(--ehs-soft-line)!important;
    box-shadow:0 24px 70px rgba(0,0,0,.22)!important;
}

.card::before,
.feature-card::before,
.solve-card::before,
.industry-benefit-card::before,
.feature-image{
    filter:saturate(.9) contrast(.98)!important;
}

.feature-body,
.solve-content,
.industry-benefit-content{
    background:linear-gradient(180deg,transparent 0%,rgba(12,18,24,.28) 42%,rgba(12,18,24,.88) 100%)!important;
    text-shadow:0 1px 12px rgba(0,0,0,.38)!important;
}

.feature-body h4,
.solve-content h3,
.industry-benefit-content h3,
.feature-body a,
.solve-tag{
    color:#fff!important;
}

.feature-body a,
.solve-tag,
.solve-points span{
    text-shadow:none!important;
}

.proof-pill,
.metric,
.stat-card,
.badge,
.industry-chip{
    border-color:rgba(53,180,182,.22)!important;
    background:rgba(53,180,182,.11)!important;
    color:#e9feff!important;
}

.check-list li::before,
.nav-center a.active,
.proof-pill,
.step strong,
.outcome span{
    color:var(--ehs-teal)!important;
}

.site-footer,
footer{
    border-top:1px solid var(--ehs-line)!important;
    color:#cbd5e1!important;
}

.site-footer a,
footer a{
    color:var(--ehs-silver)!important;
}

.site-footer a:hover,
footer a:hover{
    color:var(--ehs-teal)!important;
}

.footer-col h5,
footer h5{
    color:#9fb0c2!important;
}

.footer-bottom,
footer .footer-bottom{
    border-top:1px solid var(--ehs-line)!important;
    color:#9fb0c2!important;
}

@media(max-width:900px){
    .main-nav{
        background:var(--ehs-graphite)!important;
    }
}

/* RegulaCore EHS type and geometry refinement:
   calm weights, squared enterprise cards, and readable technical labels. */
:where(.feature-card,.solve-card,.industry-benefit-card,.compliance-card,.outcome,.step,.dark-panel,.audit-pack,.workflow-map,.explorer-brief,.site-risk-hud,.ehs-hero-preview,.hero-card,.field-ready-panel,.audit-toggle,.pdf-preview,.implementation-copy,.timeline-card,.resilience-card,.compact-card,.mod-card,.module-card,.solves-command,.solves-metric,.workflow-step,.audit-list li,.product-list li,.device-list li,.ecosystem-list li,.participation-list li,.ecosystem-node,.agency-submission-panel,.agency-action-btn,.ehs-expertise-strip,.preview-metrics div,.preview-chart,.preview-log span,.hud-kpis div,.sla-strip div){
    border-radius:6px!important;
}

:where(.ecosystem-node,.agency-action-btn,.preview-log span,.product-list li,.device-list li,.ecosystem-list li,.participation-list li,.workflow-step strong,.timeline-card strong,.section-badge,.hero-badge,.kicker,.explorer-kicker,.field-ready-panel h4,.feature-body h4,.feature-body a,.solve-tag,.solve-points span,.expertise-tags span,.implementation-badges span,.calendar-legend,.audit-toggle span,.audit-toggle button,.explorer-tab .label,.overview-btn,.industry-chip){
    font-weight:560!important;
    letter-spacing:.01em!important;
}

:where(.ecosystem-node,.agency-action-btn,.preview-log span,.product-list li,.device-list li,.ecosystem-list li,.participation-list li,.feature-body h4,.feature-body a,.solve-tag,.solve-points span,.expertise-tags span,.implementation-badges span,.calendar-legend,.audit-toggle span,.audit-toggle button,.overview-btn){
    text-transform:none!important;
}

.ecosystem-node{
    color:#eef5f8!important;
    font-size:.86rem!important;
    line-height:1.35!important;
    letter-spacing:0!important;
    background:rgba(255,255,255,.055)!important;
}

.ecosystem-node.rc{
    color:#e9feff!important;
    background:rgba(53,180,182,.12)!important;
    border-color:rgba(53,180,182,.36)!important;
}

.ecosystem-arrow{
    color:var(--ehs-teal)!important;
    font-weight:560!important;
}

.feature-body h4,
.solve-content h3,
.industry-benefit-content h3{
    font-weight:560!important;
    letter-spacing:-.006em!important;
}

.feature-body a,
.solve-tag,
.solve-points span{
    font-weight:560!important;
}

/* Shared industrial panel texture: thin-line workstation cards, not rounded SaaS tiles. */
:where(.card,.module-card,.mod-card,.compact-card,.feature-card,.solve-card,.industry-benefit-card,.compliance-card,.outcome,.step,.dark-panel,.audit-pack,.workflow-map,.explorer-brief,.site-risk-hud,.ehs-hero-preview,.hero-card,.field-ready-panel,.implementation-copy,.timeline-card,.resilience-card,.agency-submission-panel,.ehs-expertise-strip,.solves-command,.solves-metric,.workflow-step){
    background:
        linear-gradient(rgba(216,224,232,.055) 1px,transparent 1px),
        linear-gradient(90deg,rgba(216,224,232,.055) 1px,transparent 1px),
        linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.032))!important;
    background-size:64px 64px,64px 64px,auto!important;
    border:1px solid rgba(216,224,232,.2)!important;
    box-shadow:0 22px 54px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.045)!important;
}

:where(.preview-metrics div,.hud-kpis div,.sla-strip div,.device-list li,.ecosystem-list li,.participation-list li,.ecosystem-node,.agency-action-btn,.overview-btn,.product-list li,.audit-list li,.calendar-mini span){
    background:
        linear-gradient(rgba(216,224,232,.045) 1px,transparent 1px),
        linear-gradient(90deg,rgba(216,224,232,.045) 1px,transparent 1px),
        rgba(255,255,255,.052)!important;
    background-size:44px 44px,44px 44px,auto!important;
    border:1px solid rgba(216,224,232,.18)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
}

.site-risk-hud,
.ehs-hero-preview{
    border-color:rgba(216,224,232,.24)!important;
}

/* EHS contrast guardrail: every dark panel must keep copy readable. */
:root{
    --ehs-text-strong:#f8fafc;
    --ehs-text-body:#e2ebf3;
    --ehs-text-muted:#c3cfdb;
    --ehs-text-soft:#aebdcc;
}

::selection{
    color:#ffffff!important;
    background:rgba(53,180,182,.72)!important;
}

:where(.hero,.industry-hero,.hero-carousel,.section,.modules,.phone-showcase,.phone-showcase-inner,.explorer-section,.solves-section,.workflow-section,.implementation-map-section,.resilience-section,.industry-benefits-section,.compact-info-section,.cta,.site-footer,footer) :where(h1,h2,h3,h4,strong){
    color:var(--ehs-text-strong)!important;
}

:where(.hero,.industry-hero,.hero-carousel,.section,.modules,.phone-showcase,.phone-showcase-inner,.explorer-section,.solves-section,.workflow-section,.implementation-map-section,.resilience-section,.industry-benefits-section,.compact-info-section,.cta,.site-footer,footer) :where(p,li,dd,td){
    color:var(--ehs-text-body)!important;
}

:where(.card,.module-card,.mod-card,.compact-card,.feature-card,.solve-card,.industry-benefit-card,.compliance-card,.outcome,.step,.dark-panel,.audit-pack,.workflow-map,.explorer-brief,.site-risk-hud,.ehs-hero-preview,.hero-card,.field-ready-panel,.implementation-copy,.timeline-card,.resilience-card,.agency-submission-panel,.ehs-expertise-strip,.solves-command,.solves-metric,.workflow-step) :where(p,li,span:not(.section-badge):not(.hero-badge):not(.kicker):not(.explorer-kicker):not(.sync-status):not(.proof-pill):not(.industry-chip)){
    color:var(--ehs-text-body)!important;
}

:where(.preview-metrics span,.hud-kpis span,.sla-strip span,.calendar-legend,.mod-desc,.mod-regs-label,.mod-regs li,.field-ready-list li,.workflow-step span,.audit-list li,.footer-bottom,.footer-desc,.footer-bottom-links a){
    color:var(--ehs-text-muted)!important;
}

:where(.section-center p,.section-head p,.explorer-copy,.hero-sub,.industry-hero .hero-sub,.cta p){
    color:var(--ehs-text-body)!important;
}

:where(.preview-log span,.product-list li,.device-list li,.ecosystem-list li,.participation-list li,.ecosystem-node,.agency-action-btn,.overview-btn,.audit-list li,.calendar-mini span){
    color:var(--ehs-text-body)!important;
}
