/* Data Governance Services page. Sections come from the supplied design; chrome (hero, buttons, CTA, FAQ, contact) uses the site theme.
   Everything is scoped to #sp-dg. */

/* ---------- tokens (mapped to the site theme variables, with fallbacks) ---------- */
#sp-dg{
  --o:var(--primary-color,#e7680d);--ob:#f18232;--os:var(--o);--ot:var(--o);
  --t:var(--text-dark,#333333);--t2:var(--text-light,#666666);
  --bl:var(--bg-light,#fdfbf9);--bc:var(--bg-cream,#fcf2eb);--w:#fdfdfd;--bd:#eaded3;
  --dk:#0d0d0d;--dk2:#1c1c1c;
  --r:1.25rem;--sh:0 14px 30px rgba(0,0,0,.06);
  --f:'Spartan','League Spartan','Helvetica Neue',Arial,sans-serif;
  --sy:4rem;
  position:relative;
  background:var(--w);
  color:var(--t);
  font-family:var(--f);
  font-size:16px;
  line-height:1.65;
  text-align:left;
  overflow:hidden;
  -webkit-font-smoothing:antialiased;
}

/* ---------- reset (theme-proof) ---------- */
#sp-dg *,#sp-dg *::before,#sp-dg *::after{box-sizing:border-box}
#sp-dg h1,#sp-dg h2,#sp-dg h3,#sp-dg p,#sp-dg ul,#sp-dg ol,#sp-dg li,#sp-dg article{margin:0;padding:0;border:0;max-width:none;background:none}
#sp-dg ul,#sp-dg ol{list-style:none!important}
#sp-dg li::marker{content:none}
#sp-dg h1,#sp-dg h2,#sp-dg h3{font-family:var(--f)!important;color:var(--t)!important;line-height:1.2;letter-spacing:-.01em;text-transform:none!important}
#sp-dg h2{font-size:clamp(1.6rem,2.2vw + .8rem,2.25rem);font-weight:700;margin-bottom:16px}
#sp-dg h3{font-size:1.15rem;font-weight:600;margin-bottom:10px}
#sp-dg p{font-family:var(--f);font-size:16px;color:var(--t2);line-height:1.65}
#sp-dg a{text-decoration:none!important;box-shadow:none!important}
#sp-dg svg{display:inline-block;max-width:100%}
#sp-dg .dg-sprite{position:absolute;width:0;height:0;overflow:hidden}
#sp-dg :focus-visible{outline:3px solid var(--o);outline-offset:3px}
#sp-dg .dg-ico{width:30px;height:30px;flex:none;fill:none;stroke:var(--o);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#sp-dg .dg-narrow{max-width:880px}
#sp-dg .dg-sec{padding:var(--sy) 0}
#sp-dg .dg-white{background:var(--w)}
#sp-dg .dg-light{background:var(--bl)}
#sp-dg .dg-cream{background:var(--bc)}
#sp-dg .dg-head{max-width:780px;margin:0 auto 52px;text-align:center}
#sp-dg .dg-head p{font-size:17px}
#sp-dg .dg-grid{display:grid;gap:24px}
#sp-dg .dg-g3{grid-template-columns:repeat(3,1fr)}
#sp-dg .dg-g4{grid-template-columns:repeat(4,1fr)}
#sp-dg .dg-g5{grid-template-columns:repeat(5,1fr);gap:18px}
#sp-dg .dg-center{text-align:center;margin-top:48px}
#sp-dg .custom-btn-primary{color:#fff!important}

/* ---------- hero (site hero: dark base + orange glow) ---------- */
#sp-dg .hero-wrap{position:relative;overflow:hidden}
#sp-dg .hero-bg{min-height:600px;display:flex;align-items:center;padding:8rem 1rem 5rem;position:relative;background:#0d0d0d;opacity:.9}
#sp-dg .hero-bg:after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1;background:conic-gradient(from 200deg at 50% 50%,#e7680d 0deg,rgba(253,253,253,.4) 97.6deg,#e7680d 161.6deg,rgba(253,253,253,.2) 273.8deg,#e7680d 360deg);filter:blur(123.5px)}
#sp-dg .hero-bg .container{width:100%}
#sp-dg .dg-hero-grid{display:grid;grid-template-columns:1fr;justify-items:center;text-align:center}
#sp-dg .dg-eyebrow{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ob);margin-bottom:14px}
#sp-dg .hero-bg .hero-title{font-size:clamp(1.8rem,3.25vw + 1rem,3.25rem);font-weight:600;line-height:1.2;color:#fff!important;margin-bottom:.75rem}
#sp-dg .hero-bg .hero-subtitle{font-size:clamp(1.05rem,1.4vw + .5rem,1.4rem);font-weight:600;line-height:1.5;color:#fff;margin:0 0 1rem;max-width:none;text-align:center}
#sp-dg .hero-bg .dg-lead{font-size:1.05rem;line-height:1.7;max-width:720px;margin-inline:auto;color:rgba(255,255,255,.85)}
#sp-dg .dg-btns{display:flex;justify-content:center;flex-wrap:wrap;align-items:center;gap:14px;margin-top:1.75rem}
#sp-dg .dg-btn-ghost,#sp-dg .dg-btn-outline{border-radius:50px;font-weight:500;font-size:1rem;padding:.75rem 2rem;transition:all .3s ease}
#sp-dg .dg-btn-ghost{border:1.5px solid rgba(255,255,255,.8);color:#fff!important}
#sp-dg .dg-btn-ghost:hover{background:rgba(255,255,255,.14)}
#sp-dg .dg-btn-outline{border:1.5px solid var(--o);color:var(--o)!important}
#sp-dg .dg-btn-outline:hover{background:var(--o);color:#fff!important}
#sp-dg .dg-hero-visual{display:flex;justify-content:center;background:#fff;border-radius:var(--r);padding:1rem;box-shadow:0 20px 60px rgba(231,104,13,.25)}
#sp-dg .dg-hero-svg{width:100%;max-width:500px;height:auto}
#sp-dg .stat-row{background:var(--bl);padding:1.75rem 1rem}
#sp-dg .stat-card{background:rgba(231,104,13,.25);border-radius:8px;padding:1.5rem;text-align:center;font-weight:600;color:#0d0d0d;margin:.5rem 0}
#sp-dg .stat-card span{color:#0d0d0d;font-size:2rem;font-weight:700;line-height:1.2}
#sp-dg .stat-card small em{display:block;margin-top:.4rem;font-size:.85rem}
#sp-dg .stat-card small{display:block;font-size:1rem;font-weight:400;color:#0d0d0d}

/* ---------- closing CTA (same look as the other service pages) ---------- */
#sp-dg .dg-cta{background:radial-gradient(120% 160% at 0% 0%,#ffe6d1 0%,#fff 42%,#ffe0c2 100%)}
#sp-dg .dg-cta .dg-cta-h{font-size:clamp(1.75rem,2.4vw + 1rem,2.75rem);font-weight:700;color:#111!important;margin-bottom:1.25rem}
#sp-dg .dg-cta .dg-cta-p{max-width:640px;margin:0 auto 2rem;font-size:1.05rem;line-height:1.7;color:var(--t2)}
#sp-dg .dg-cta-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}
#sp-dg .dg-cta-btn{padding-inline:2.5rem}

/* ---------- card tuning to the site look ---------- */
#sp-dg .dg-card{box-shadow:0 14px 30px rgba(0,0,0,.04)}

@media (max-width:1023px){
  #sp-dg{--sy:3.25rem}
  #sp-dg .hero-bg{min-height:0;padding:7rem 0 3.5rem}
  #sp-dg .dg-hero-grid{grid-template-columns:1fr;gap:2rem}
  #sp-dg .dg-hero-visual{max-width:460px;margin:0 auto}
}
@media (max-width:767px){
  #sp-dg{--sy:2.5rem;font-size:15.5px}
  #sp-dg .dg-head{text-align:left;margin-bottom:34px}
  #sp-dg .dg-center{text-align:left;margin-top:32px}
  #sp-dg .dg-btns{flex-direction:column;align-items:stretch}
  #sp-dg .dg-btns .btn,#sp-dg .dg-cta-btns .btn{width:100%;text-align:center}
  #sp-dg .dg-cta-btns{flex-direction:column}
}


/* ---------- sections ---------- */
/* SoftProdigy | Data Governance Services | page styles (same design system as AI Governance page)
   Every rule starts with #sp-dg (ID) so it beats theme/plugin class styles
   and never touches anything outside this page block. */


#sp-dg *,#sp-dg *::before,#sp-dg *::after{box-sizing:border-box}
#sp-dg h1,#sp-dg h2,#sp-dg h3,#sp-dg p,#sp-dg ul,#sp-dg ol,#sp-dg li,#sp-dg section,#sp-dg article{margin:0;padding:0;border:0;max-width:none;background:none}
#sp-dg section{display:block;width:100%}
#sp-dg ul,#sp-dg ol{list-style:none!important}
#sp-dg li::marker{content:none}
#sp-dg h1,#sp-dg h2,#sp-dg h3{font-family:var(--f)!important;color:var(--t)!important;line-height:1.2;letter-spacing:-.01em;text-transform:none!important}
#sp-dg h2{font-size:clamp(28px,3vw,40px);font-weight:700;margin-bottom:16px}
#sp-dg h3{font-size:19px;font-weight:600;margin-bottom:10px}
#sp-dg p{font-family:var(--f);font-size:16px;color:var(--t2);line-height:1.65}
#sp-dg a{text-decoration:none!important;box-shadow:none!important}
#sp-dg svg{display:inline-block;max-width:100%}
#sp-dg .dg-sprite{position:absolute;width:0;height:0;overflow:hidden}
#sp-dg :focus-visible{outline:3px solid var(--o);outline-offset:3px}
#sp-dg .dg-ico{width:30px;height:30px;flex:none;fill:none;stroke:var(--o);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* ---------- layout ---------- */
#sp-dg .dg-narrow{max-width:880px}
#sp-dg .dg-sec{padding:var(--sy) 0}
#sp-dg .dg-white{background:var(--w)}
#sp-dg .dg-light{background:var(--bl)}
#sp-dg .dg-cream{background:var(--bc)}
#sp-dg .dg-head{max-width:780px;margin:0 auto 52px;text-align:center}
#sp-dg .dg-head p{font-size:17px}
#sp-dg .dg-grid{display:grid;gap:24px}
#sp-dg .dg-g3{grid-template-columns:repeat(3,1fr)}
#sp-dg .dg-g4{grid-template-columns:repeat(4,1fr)}
#sp-dg .dg-g5{grid-template-columns:repeat(5,1fr);gap:18px}
#sp-dg .dg-center{text-align:center;margin-top:48px}

/* ---------- buttons ---------- */

/* ---------- hero + stats ---------- */

/* ---------- cards ---------- */
#sp-dg .dg-card{position:relative;background:var(--w);border:1px solid var(--bd);border-radius:var(--r);padding:32px 28px;transition:transform .25s,box-shadow .25s,border-color .25s}
#sp-dg .dg-card:hover{transform:translateY(-4px);box-shadow:var(--sh);border-color:#e2cbb8}
#sp-dg .dg-badge{display:inline-flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:14px;margin-bottom:22px;background:var(--bc);border:1px solid var(--bd)}
#sp-dg .dg-card-dark{background:var(--dk);border-color:var(--dk)}
#sp-dg .dg-card-dark h3{color:#fff!important}
#sp-dg .dg-card-dark p{color:#cfcac6}
#sp-dg .dg-card-dark .dg-badge{background:rgba(241,130,50,.14);border-color:rgba(241,130,50,.35)}
#sp-dg .dg-card-dark .dg-ico{stroke:var(--ob)}
#sp-dg .dg-ch .dg-ico,#sp-dg .dg-ind .dg-ico{width:36px;height:36px;margin-bottom:18px}
#sp-dg .dg-ch::after{content:"";position:absolute;left:28px;right:28px;bottom:0;height:3px;border-radius:3px 3px 0 0;background:var(--o);transform:scaleX(0);transform-origin:left;transition:transform .3s}
#sp-dg .dg-ch:hover::after{transform:scaleX(1)}

/* ---------- compliance frameworks ---------- */
#sp-dg .dg-fw{position:relative;background:var(--bl);border:1px solid var(--bd);border-top:3px solid var(--o);border-radius:12px;padding:26px 22px}
#sp-dg .dg-fw h3{font-size:18px}
#sp-dg .dg-fw p{font-size:15px}
#sp-dg .dg-fw-tag{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ot);background:var(--bc);border:1px solid var(--bd);border-radius:999px;padding:3px 10px;margin-bottom:14px}
#sp-dg .dg-note{font-size:14px;text-align:center;margin-top:24px}

/* ---------- agentic framework (dark) ---------- */
#sp-dg .dg-dark{background:radial-gradient(circle at 85% 0%,rgba(241,130,50,.16),transparent 45%),var(--dk)}
#sp-dg .dg-head-light h2{color:#fff!important}
#sp-dg .dg-head-light p{color:#cfcac6}
#sp-dg .dg-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;position:relative}
#sp-dg .dg-steps::before{content:"";position:absolute;left:10%;right:10%;top:34px;height:2px;background:repeating-linear-gradient(90deg,var(--ob) 0 8px,transparent 8px 14px);opacity:.6}
#sp-dg .dg-step{position:relative;margin-top:34px;padding:0 20px 28px;text-align:center;background:var(--dk2);border:1px solid rgba(255,255,255,.1);border-radius:var(--r)}
#sp-dg .dg-step-n{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:68px;height:68px;margin:-34px auto 18px;border-radius:50%;background:var(--dk);border:2px solid var(--ob);color:#fff;font-size:24px;font-weight:700}
#sp-dg .dg-step h3{color:#fff!important;font-size:21px}
#sp-dg .dg-step p{color:#cfcac6;font-size:15px}
#sp-dg .dg-step-key{background:#3a2a1f;border-color:rgba(241,130,50,.55)}
#sp-dg .dg-step-key .dg-step-n{background:var(--os)}

/* ---------- process ---------- */
#sp-dg .dg-process{display:grid;grid-template-columns:repeat(5,1fr);counter-reset:none}
#sp-dg .dg-process li{position:relative;padding:32px 22px;background:var(--w);border:1px solid var(--bd)}
#sp-dg .dg-process li+li{border-left:0}
#sp-dg .dg-process li:first-child{border-radius:var(--r) 0 0 var(--r)}
#sp-dg .dg-process li:last-child{border-radius:0 var(--r) var(--r) 0;background:var(--dk);border-color:var(--dk)}
#sp-dg .dg-process li:last-child h3{color:#fff!important}
#sp-dg .dg-process li:last-child p{color:#cfcac6}
#sp-dg .dg-process li:not(:last-child)::after{content:"";position:absolute;right:-11px;top:44px;z-index:1;width:20px;height:20px;background:var(--w);border-top:1px solid var(--bd);border-right:1px solid var(--bd);transform:rotate(45deg)}
#sp-dg .dg-pn{display:block;font-size:40px;font-weight:700;line-height:1;color:var(--o);margin-bottom:18px}
#sp-dg .dg-process li:last-child .dg-pn{color:var(--ob)}
#sp-dg .dg-process p{font-size:15px}

/* ---------- CTA banner ---------- */

/* ---------- FAQ ---------- */

/* ---------- Data Governance components ---------- */
#sp-dg .dg-card p a,#sp-dg .dg-small a{color:var(--ot)!important;font-weight:600;border-bottom:1px solid currentColor}
#sp-dg .dg-card-dark p a{color:var(--ob)!important}
#sp-dg .dg-split{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
#sp-dg .dg-split h2+p{font-size:17px;margin-bottom:8px}

/* architecture (dark) */
#sp-dg .dg-arch{display:grid;grid-template-columns:repeat(5,1fr);gap:28px;position:relative}
#sp-dg .dg-arch-col{position:relative;padding:24px 20px;border-radius:var(--r);background:var(--dk2);border:1px solid rgba(255,255,255,.1)}
#sp-dg .dg-arch-col:not(:last-child)::after{content:"";position:absolute;right:-24px;top:50%;width:20px;height:2px;background:repeating-linear-gradient(90deg,var(--ob) 0 5px,transparent 5px 9px)}
#sp-dg .dg-arch-col:not(:last-child)::before{content:"";position:absolute;right:-25px;top:calc(50% - 4px);border:5px solid transparent;border-left-color:var(--ob);border-right:0}
#sp-dg .dg-arch-key{background:#3a2a1f;border-color:rgba(241,130,50,.55)}
#sp-dg .dg-arch-n{display:block;font-size:13px;font-weight:700;letter-spacing:.1em;color:var(--ob);margin-bottom:6px}
#sp-dg .dg-arch-col h3{color:#fff!important;font-size:20px;margin-bottom:16px}
#sp-dg .dg-chips{display:flex;flex-wrap:wrap;gap:6px}
#sp-dg .dg-chips li{font-size:13px;color:#e9e4e0;padding:5px 11px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.04)}
#sp-dg .dg-arch-gov{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px;margin-top:20px;padding:18px 24px;border-radius:12px;border:1px dashed rgba(241,130,50,.6);background:rgba(241,130,50,.08)}
#sp-dg .dg-arch-gov strong{color:#fff;font-weight:600}
#sp-dg .dg-arch-gov span{color:#cfcac6;font-size:15px}

/* framework */
#sp-dg .dg-fw-visual{display:flex;justify-content:center}
#sp-dg .dg-fw-svg{width:100%;max-width:440px;height:auto}
#sp-dg .dg-fw-list{display:grid;gap:12px;margin-top:22px}
#sp-dg .dg-fw-list li{display:flex;gap:16px;align-items:flex-start;padding:16px 18px;border:1px solid var(--bd);border-radius:12px;background:var(--bl)}
#sp-dg .dg-fw-list li>span{flex:none;width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;color:var(--ot);background:var(--bc)}
#sp-dg .dg-fw-list h3{font-size:17px;margin-bottom:2px}
#sp-dg .dg-fw-list p{font-size:15px}

/* phased note */
#sp-dg .dg-phased{margin-top:28px;padding:22px 26px;border-radius:var(--r);background:var(--bc);border:1px solid var(--bd);display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px}
#sp-dg .dg-phased-t{color:var(--t);flex:1 0 100%}
#sp-dg .dg-phased ul{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;flex:1 0 100%}
#sp-dg .dg-phased li{display:flex;gap:10px;align-items:flex-start;color:var(--t);font-size:15px;font-weight:500;line-height:1.45}
#sp-dg .dg-phased .dg-ico{width:22px;height:22px;stroke-width:2.2}

/* before / after */
#sp-dg .dg-compare{display:grid;grid-template-columns:1fr 64px 1fr;gap:20px;align-items:stretch}
#sp-dg .dg-cmp{border-radius:var(--r);padding:32px 30px;border:1px solid var(--bd)}
#sp-dg .dg-cmp h3{font-size:21px;margin-bottom:20px}
#sp-dg .dg-cmp ul{display:grid;gap:14px}
#sp-dg .dg-cmp li{display:flex;gap:12px;align-items:center;font-size:16px}
#sp-dg .dg-cmp .dg-ico{width:26px;height:26px;padding:5px;border-radius:50%;stroke-width:2.4}
#sp-dg .dg-cmp-old{background:var(--bl)}
#sp-dg .dg-cmp-old li{color:var(--t2)}
#sp-dg .dg-cmp-old .dg-ico{stroke:#8a8480;background:#efe9e4}
#sp-dg .dg-cmp-new{background:var(--dk);border-color:var(--dk)}
#sp-dg .dg-cmp-new h3{color:#fff!important}
#sp-dg .dg-cmp-new li{color:#e9e4e0}
#sp-dg .dg-cmp-new .dg-ico{stroke:#fff;background:var(--os)}
#sp-dg .dg-cmp-arrow{display:flex;align-items:center;justify-content:center}
#sp-dg .dg-cmp-arrow .dg-ico{width:56px;height:56px;padding:14px;border-radius:50%;background:var(--bc);border:1px solid var(--bd);stroke-width:2}

/* AI-ready */
#sp-dg .dg-tags{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}
#sp-dg .dg-tags li{font-size:14px;font-weight:600;color:var(--t);padding:6px 14px;border-radius:999px;background:var(--w);border:1px solid var(--bd)}
#sp-dg .dg-small{font-size:15px}
#sp-dg .dg-ladder{display:grid;gap:10px;position:relative;max-width:420px;margin-left:auto;width:100%}
#sp-dg .dg-ladder li{position:relative;display:flex;align-items:center;gap:14px;padding:14px 20px 14px 16px;border-radius:12px;background:var(--w);border:1px solid var(--bd);font-weight:600;color:var(--t)}
#sp-dg .dg-ladder li::before{content:"";flex:none;width:22px;height:22px;border-radius:50%;background:var(--bc);border:2px solid var(--o);position:relative;z-index:1}
#sp-dg .dg-ladder li:nth-child(2){margin-left:4%}
#sp-dg .dg-ladder li:nth-child(3){margin-left:8%}
#sp-dg .dg-ladder li:nth-child(4){margin-left:12%}
#sp-dg .dg-ladder li:nth-child(5){margin-left:16%}
#sp-dg .dg-ladder li:nth-child(1){background:var(--dk);border-color:var(--dk);color:#fff}
#sp-dg .dg-ladder li:nth-child(1)::before{background:var(--o);border-color:var(--o)}
#sp-dg .dg-ladder-top{margin-left:20%;background:var(--os)!important;border-color:var(--os)!important;color:#fff!important}
#sp-dg .dg-ladder-top::before{background:#fff!important;border-color:#fff!important}

#sp-dg .dg-g5 .dg-ind{padding:28px 22px}

/* banner buttons */

/* ---------- Data Governance components ---------- */
/* framework (dark): 10 components around a trusted-data core */
#sp-dg .dg-fwk{display:grid;grid-template-columns:1fr 340px 1fr;gap:36px;align-items:center}
#sp-dg .dg-fwk-col{display:grid;gap:12px}
#sp-dg .dg-fwk-col li{display:flex;align-items:center;gap:14px;padding:14px 18px;border-radius:12px;background:var(--dk2);border:1px solid rgba(255,255,255,.1);color:#fff;font-weight:600;font-size:16px;position:relative}
#sp-dg .dg-fwk-col li span{flex:none;width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:var(--ob);border:1.5px solid var(--ob)}
#sp-dg .dg-fwk-col li::after{content:"";position:absolute;top:50%;width:28px;height:1px;background:rgba(241,130,50,.5)}
#sp-dg .dg-fwk-col:not(.dg-fwk-right) li::after{right:-30px}
#sp-dg .dg-fwk-right li::after{left:-30px}
#sp-dg .dg-fwk-right li{flex-direction:row-reverse;text-align:right}
#sp-dg .dg-fwk-core{display:flex;justify-content:center}
#sp-dg .dg-fwk-ring{width:300px;height:300px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:40px;border:1.5px dashed rgba(241,130,50,.55);background:radial-gradient(circle,#3a2a1f 0 58%,transparent 59%);box-shadow:0 0 0 18px rgba(241,130,50,.06)}
#sp-dg .dg-fwk-ring strong{color:#fff;font-size:24px;line-height:1.2;font-weight:700}
#sp-dg .dg-fwk-ring span{color:var(--ob);font-size:13px;font-weight:600;letter-spacing:.04em}

/* operating model tiers */
#sp-dg .dg-tiers{display:grid;gap:8px}
#sp-dg .dg-tier{display:flex;flex-direction:column;align-items:center;text-align:center;padding:14px 18px;border-radius:12px;border:1px solid var(--bd);background:var(--w);position:relative}
#sp-dg .dg-tier strong{font-size:16px;color:var(--t)}
#sp-dg .dg-tier span{font-size:14px;color:var(--t2)}
#sp-dg .dg-tier+.dg-tier::before{content:"";position:absolute;top:-9px;left:50%;width:2px;height:9px;background:var(--o)}
#sp-dg .dg-tier-1{margin:0 20%;background:var(--dk);border-color:var(--dk)}
#sp-dg .dg-tier-1 strong{color:#fff}
#sp-dg .dg-tier-1 span{color:#cfcac6}
#sp-dg .dg-tier-2{margin:0 15%;background:var(--bc)}
#sp-dg .dg-tier-3{margin:0 10%;border-color:var(--o);border-width:1.5px}
#sp-dg .dg-tier-4{margin:0 5%}
#sp-dg .dg-tier-5{margin:0;background:var(--bl)}

/* data quality */
#sp-dg .dg-dims{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
#sp-dg .dg-dims li{padding:22px 18px;border-radius:12px;background:var(--w);border:1px solid var(--bd);border-top:3px solid var(--o)}
#sp-dg .dg-dims strong{display:block;font-size:17px;color:var(--t);margin-bottom:4px}
#sp-dg .dg-dims span{font-size:14px;color:var(--t2);line-height:1.45;display:block}
#sp-dg .dg-cycle{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:28px;counter-reset:dgc}
#sp-dg .dg-cycle li{counter-increment:dgc;position:relative;text-align:center;padding:16px 10px;border-radius:999px;background:var(--dk);color:#fff;font-weight:600}
#sp-dg .dg-cycle li::before{content:counter(dgc,decimal-leading-zero);color:var(--ob);font-size:12px;font-weight:700;margin-right:8px}
#sp-dg .dg-cycle li:not(:last-child)::after{content:"";position:absolute;right:-12px;top:50%;width:10px;height:2px;background:var(--o)}
#sp-dg .dg-cycle li:last-child{background:var(--os)}
#sp-dg .dg-cycle li:last-child::before{color:#fff}

/* metadata + lineage */
#sp-dg .dg-mlg{display:grid;grid-template-columns:1fr 1fr;gap:24px}
#sp-dg .dg-panel{padding:30px;border-radius:var(--r);border:1px solid var(--bd);background:var(--bl)}
#sp-dg .dg-panel h3{margin-bottom:20px}
#sp-dg .dg-asset{border-radius:12px;background:var(--w);border:1px solid var(--bd);overflow:hidden}
#sp-dg .dg-asset-h{display:flex;align-items:center;gap:10px;padding:14px 18px;background:var(--dk);color:#fff}
#sp-dg .dg-asset-h .dg-ico{width:22px;height:22px;stroke:var(--ob)}
#sp-dg .dg-asset-h strong{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:15px;font-weight:600}
#sp-dg .dg-asset-h em{margin-left:auto;font-style:normal;font-size:12px;font-weight:700;color:#fff;background:var(--os);padding:3px 10px;border-radius:999px}
#sp-dg .dg-asset dl{margin:0;padding:6px 18px}
#sp-dg .dg-asset dl>div{display:grid;grid-template-columns:150px 1fr;gap:12px;padding:10px 0;border-bottom:1px solid var(--bd);align-items:center}
#sp-dg .dg-asset dl>div:last-child{border-bottom:0}
#sp-dg .dg-asset dt{font-size:13px;font-weight:700;letter-spacing:.04em;color:var(--ot);margin:0}
#sp-dg .dg-asset dd{margin:0;font-size:15px;color:var(--t)}
#sp-dg .dg-meter{display:block;height:8px;border-radius:8px;background:var(--bc);overflow:hidden}
#sp-dg .dg-meter i{display:block;height:100%;background:var(--o);border-radius:8px}
#sp-dg .dg-pill{display:inline-block;font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px;background:var(--bc);color:var(--ot);border:1px solid var(--bd)}
#sp-dg .dg-panel>.dg-small{margin-top:10px;font-size:13px}
#sp-dg .dg-lineage{display:grid;gap:10px;position:relative;margin-bottom:22px}
#sp-dg .dg-lineage::before{content:"";position:absolute;left:19px;top:18px;bottom:18px;width:2px;background:repeating-linear-gradient(180deg,var(--o) 0 6px,transparent 6px 11px);opacity:.7}
#sp-dg .dg-lineage li{position:relative;display:flex;align-items:center;gap:14px;padding:10px 16px 10px 48px;border-radius:10px;background:var(--w);border:1px solid var(--bd);font-weight:600;color:var(--t);font-size:15px}
#sp-dg .dg-lineage li::before{content:"";position:absolute;left:12px;top:50%;width:16px;height:16px;margin-top:-8px;border-radius:50%;background:var(--bc);border:2px solid var(--o)}
#sp-dg .dg-lineage li span{min-width:112px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ot)}
#sp-dg .dg-lineage-end{background:var(--dk)!important;border-color:var(--dk)!important;color:#fff!important}
#sp-dg .dg-lineage-end span{color:var(--ob)!important}
#sp-dg .dg-lineage-end::before{background:var(--o)!important}
#sp-dg .dg-panel .dg-tags{margin:0}

/* sensitivity tiers */
#sp-dg .dg-sens{display:grid;gap:10px}
#sp-dg .dg-sens-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-radius:12px;border:1px solid var(--bd);background:var(--w)}
#sp-dg .dg-sens-row strong{font-size:17px;color:var(--t);display:flex;align-items:center;gap:12px}
#sp-dg .dg-sens-row strong::before{content:"";width:12px;height:12px;border-radius:50%;background:var(--bd)}
#sp-dg .dg-sens-row span{font-size:14px;color:var(--t2)}
#sp-dg .dg-s2 strong::before{background:#f2b98e}
#sp-dg .dg-s3{border-color:var(--o)}
#sp-dg .dg-s3 strong::before{background:var(--o)}
#sp-dg .dg-s4{background:var(--dk);border-color:var(--dk)}
#sp-dg .dg-s4 strong{color:#fff}
#sp-dg .dg-s4 strong::before{background:var(--ob);box-shadow:0 0 0 4px rgba(241,130,50,.25)}
#sp-dg .dg-s4 span{color:#cfcac6}

/* maturity (horizontal ascending) */
#sp-dg .dg-mat{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;align-items:end}
#sp-dg .dg-mat li{position:relative;padding:22px 20px;border-radius:var(--r) var(--r) 6px 6px;background:var(--w);border:1px solid var(--bd);border-bottom:4px solid var(--o)}
#sp-dg .dg-mat-1{min-height:190px}
#sp-dg .dg-mat-2{min-height:225px}
#sp-dg .dg-mat-3{min-height:260px}
#sp-dg .dg-mat-4{min-height:295px;background:var(--bc)!important}
#sp-dg .dg-mat-5{min-height:330px;background:var(--dk)!important;border-color:var(--dk)!important;border-bottom-color:var(--ob)!important}
#sp-dg .dg-mat-5 h3{color:#fff!important}
#sp-dg .dg-mat-5 p{color:#e9e4e0}
#sp-dg .dg-mat-tag{display:block;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ot);margin-bottom:8px}
#sp-dg .dg-mat-5 .dg-mat-tag{color:var(--ob)}
#sp-dg .dg-mat p{font-size:15px}

@media (max-width:1100px){
  #sp-dg .dg-fwk{grid-template-columns:1fr 1fr}
  #sp-dg .dg-fwk-core{grid-column:1/-1;order:-1}
  #sp-dg .dg-fwk-col li::after{display:none}
  #sp-dg .dg-fwk-right li{flex-direction:row;text-align:left}
  #sp-dg .dg-dims{grid-template-columns:repeat(3,1fr)}
  #sp-dg .dg-mlg{grid-template-columns:1fr}
}
@media (max-width:767px){
  #sp-dg .dg-fwk{grid-template-columns:1fr;gap:10px}
  #sp-dg .dg-fwk-col{grid-template-columns:1fr 1fr;gap:10px}
  #sp-dg .dg-fwk-col li{padding:12px;gap:10px;font-size:14px;line-height:1.3}
  #sp-dg .dg-fwk-col li span{width:28px;height:28px;font-size:11px}
  #sp-dg .dg-fwk-ring{width:240px;height:240px;padding:30px;margin-bottom:12px}
  #sp-dg .dg-fwk-ring strong{font-size:20px}
  #sp-dg .dg-tier{margin:0!important}
  #sp-dg .dg-dims{grid-template-columns:repeat(2,1fr);gap:10px}
  #sp-dg .dg-cycle{grid-template-columns:1fr;gap:10px}
  #sp-dg .dg-cycle li::after{display:none}
  #sp-dg .dg-panel{padding:20px 16px}
  #sp-dg .dg-asset dl>div{grid-template-columns:1fr;gap:2px}
  #sp-dg .dg-lineage li{flex-direction:column;align-items:flex-start;gap:0}
  #sp-dg .dg-mat{grid-template-columns:1fr;gap:10px}
  #sp-dg .dg-mat li{min-height:0!important;border-radius:12px;border-bottom-width:1px;border-left:4px solid var(--o)}
}

/* ---------- responsive (Data Governance components) ---------- */
@media (max-width:1100px){
  #sp-dg .dg-arch{grid-template-columns:repeat(3,1fr)}
  #sp-dg .dg-arch-col::after,#sp-dg .dg-arch-col::before{display:none}
  #sp-dg .dg-phased ul{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:1023px){
  #sp-dg .dg-split{grid-template-columns:1fr;gap:40px}
  #sp-dg .dg-fw-visual{order:2}
  #sp-dg .dg-compare{grid-template-columns:1fr}
  #sp-dg .dg-cmp-arrow .dg-ico{transform:rotate(90deg)}
  #sp-dg .dg-ladder{margin:0}
}
@media (max-width:767px){
  #sp-dg .dg-arch{grid-template-columns:1fr;gap:12px}
  #sp-dg .dg-arch-col{padding:18px}
  #sp-dg .dg-arch-gov{padding:16px 18px}
  #sp-dg .dg-phased{padding:20px 18px}
  #sp-dg .dg-phased ul{grid-template-columns:1fr}
  #sp-dg .dg-cmp{padding:24px 20px}
  #sp-dg .dg-ladder li{margin-left:0!important}
}

/* ---------- responsive ---------- */
@media (max-width:1100px){
  #sp-dg .dg-g5{grid-template-columns:repeat(3,1fr)}
  #sp-dg .dg-g4{grid-template-columns:repeat(2,1fr)}
  #sp-dg .dg-steps{grid-template-columns:repeat(3,1fr);row-gap:40px}
  #sp-dg .dg-steps::before{display:none}
  #sp-dg .dg-process{grid-template-columns:repeat(3,1fr);gap:16px}
  #sp-dg .dg-process li,#sp-dg .dg-process li+li{border:1px solid var(--bd);border-radius:var(--r)!important}
  #sp-dg .dg-process li::after{display:none}
}
@media (max-width:1023px){
  #sp-dg{--sy:72px}
  #sp-dg .dg-g3{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:767px){
  #sp-dg{--sy:56px;font-size:15.5px}
  #sp-dg .dg-head{text-align:left;margin-bottom:34px}
  #sp-dg .dg-center{text-align:left;margin-top:32px}
  #sp-dg h3{font-size:18px}
  #sp-dg .dg-g3,#sp-dg .dg-g4,#sp-dg .dg-g5{grid-template-columns:1fr}
  #sp-dg .dg-card{padding:26px 22px}
  #sp-dg .dg-card:hover{transform:none}
  #sp-dg .dg-steps{grid-template-columns:1fr;gap:14px}
  #sp-dg .dg-steps::before{display:block;left:27px;right:auto;top:20px;bottom:20px;width:2px;height:auto;background:repeating-linear-gradient(180deg,var(--ob) 0 8px,transparent 8px 14px)}
  #sp-dg .dg-step{margin:0;padding:20px 20px 20px 78px;text-align:left}
  #sp-dg .dg-step-n{position:absolute;left:6px;top:18px;width:44px;height:44px;margin:0;font-size:18px}
  #sp-dg .dg-process{grid-template-columns:1fr;gap:12px}
  #sp-dg .dg-process li{display:grid;grid-template-columns:56px 1fr;column-gap:8px;padding:20px}
  #sp-dg .dg-pn{grid-row:span 2;font-size:28px;margin:0}
  #sp-dg .dg-process h3{margin-bottom:4px}
}
@media (prefers-reduced-motion:reduce){
  #sp-dg *,#sp-dg *::before,#sp-dg *::after{transition:none!important}
}

/* ---------- black areas switched to the site theme (light surfaces, orange accents) ---------- */
#sp-dg .dg-process li:last-child{background:var(--w);border-color:var(--bd)}
#sp-dg .dg-process li:last-child h3{color:var(--t)!important}
#sp-dg .dg-process li:last-child p{color:var(--t2)}
#sp-dg .dg-process li:last-child .dg-pn{color:var(--o)}
#sp-dg .dg-ladder li:nth-child(1){background:var(--o);border-color:var(--o);color:#fff}
#sp-dg .dg-ladder li:nth-child(1)::before{background:#fff;border-color:#fff}
#sp-dg .dg-tier-1{background:var(--o);border-color:var(--o)}
#sp-dg .dg-tier-1 span{color:#fff}
#sp-dg .dg-cycle li{background:var(--o)}
#sp-dg .dg-cycle li::before{color:#fff}
#sp-dg .dg-mat-5{background:var(--o)!important;border-color:var(--o)!important;border-bottom-color:var(--os)!important}
#sp-dg .dg-mat-5 p{color:#fff}
#sp-dg .dg-mat-5 .dg-mat-tag{color:#fff}

#sp-dg .stat-row .row>[class*="col-"]{display:flex}
#sp-dg .stat-card{flex:1}
