/* ═══════════════════════════════════════════════════
   E-GLOBAL SCM — LEGAL / POLICY PAGES
   Shared theme, matched to the timeline-hero page.
═══════════════════════════════════════════════════ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  background:#061322;
  color:rgba(255,255,255,0.80);
  font-family:'DM Sans',sans-serif;
  font-weight:300;
  line-height:1.75;
  font-size:1rem;
  min-height:100vh;
  position:relative;
  overflow-x:hidden;
}
/* subtle vignette + teal glow */
body::before{
  content:'';position:fixed;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(1100px 700px at 80% -10%, rgba(14,184,160,0.10), transparent 60%),
    radial-gradient(900px 600px at 0% 110%, rgba(14,184,160,0.06), transparent 60%);
}
a{color:#0eb8a0;text-decoration:none;transition:color 0.2s}
a:hover{color:#4fd6c2}

/* ── NAV ── */
.lg-nav{
  position:sticky;top:0;z-index:50;
  height:66px;display:flex;align-items:center;justify-content:space-between;
  padding:0 2.5rem;
  background:rgba(6,19,34,0.72);
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  border-bottom:0.5px solid rgba(255,255,255,0.10);
}
.lg-logo{display:flex;align-items:center;gap:10px;color:#fff;font-family:'Instrument Serif',serif;font-size:1.35rem;white-space:nowrap}
.lg-mark{
  width:32px;height:32px;border-radius:7px;display:flex;align-items:center;justify-content:center;
  font-family:'DM Sans',sans-serif;font-size:0.68rem;font-weight:500;flex-shrink:0;
  background:#0eb8a0;color:#061322;
}
.lg-nav-right{display:flex;align-items:center;gap:1.6rem}
.lg-back{font-size:0.8rem;color:rgba(255,255,255,0.6)}
.lg-back:hover{color:#fff}
.lg-cta{
  display:inline-flex;align-items:center;gap:6px;
  padding:0.45rem 1.2rem;border-radius:999px;
  font-size:0.78rem;font-weight:500;
  background:#0eb8a0;color:#061322;
  transition:transform 0.25s;
}
.lg-cta:hover{transform:scale(1.04);color:#061322}

/* ── HEADER ── */
.lg-header{
  position:relative;z-index:1;
  max-width:860px;margin:0 auto;
  padding:5rem 2rem 2.5rem;
}
.lg-eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-family:'Share Tech Mono',monospace;
  font-size:0.72rem;letter-spacing:0.12em;text-transform:uppercase;
  color:#0eb8a0;
  padding:0.35rem 0.95rem;border-radius:999px;
  border:0.5px solid rgba(14,184,160,0.35);
  background:rgba(14,184,160,0.08);
  margin-bottom:1.4rem;
  white-space:nowrap;
}
.lg-eyebrow .dot{width:6px;height:6px;border-radius:50%;background:#0eb8a0;animation:lgpulse 2s ease-in-out infinite}
@keyframes lgpulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:0.4;transform:scale(0.7)}}
.lg-title{
  font-family:'Instrument Serif',serif;
  font-weight:400;color:#fff;
  font-size:clamp(2.6rem,6vw,4.4rem);
  line-height:1.04;letter-spacing:-0.02em;
  margin-bottom:1rem;
}
.lg-title em{font-style:italic;color:#0eb8a0}
.lg-lede{
  font-size:clamp(1rem,1.7vw,1.18rem);
  color:rgba(255,255,255,0.62);
  max-width:640px;line-height:1.7;
}
.lg-updated{
  margin-top:1.6rem;
  font-family:'Share Tech Mono',monospace;
  font-size:0.72rem;letter-spacing:0.06em;
  color:rgba(255,255,255,0.38);
}

/* divider rule under header */
.lg-rule{
  max-width:860px;margin:0 auto;
  height:1px;border:none;
  background:linear-gradient(to right, rgba(255,255,255,0.18), rgba(255,255,255,0.02));
}

/* ── BODY CONTENT ── */
.lg-body{
  position:relative;z-index:1;
  max-width:760px;margin:0 auto;
  padding:3rem 2rem 4rem;
}
.lg-section{margin-bottom:2.6rem}
.lg-section:last-child{margin-bottom:0}

/* numbered section heading */
.lg-h2{
  display:flex;align-items:baseline;gap:0.85rem;
  font-family:'Instrument Serif',serif;
  font-weight:400;color:#fff;
  font-size:clamp(1.5rem,3vw,2rem);
  line-height:1.2;letter-spacing:-0.01em;
  margin-bottom:1rem;
  scroll-margin-top:90px;
}
.lg-num{
  font-family:'Share Tech Mono',monospace;
  font-size:0.85rem;color:#0eb8a0;
  border:0.5px solid rgba(14,184,160,0.4);
  border-radius:7px;
  padding:0.15rem 0.55rem;
  flex-shrink:0;line-height:1.4;
  align-self:center;
}
.lg-h3{
  font-family:'DM Sans',sans-serif;
  font-weight:500;color:#fff;font-size:1.05rem;
  letter-spacing:0.01em;
  margin:1.6rem 0 0.7rem;
}
.lg-body p{margin-bottom:1rem;color:rgba(255,255,255,0.78)}
.lg-body p:last-child{margin-bottom:0}
.lg-body strong{color:#fff;font-weight:500}
.lg-body em{color:rgba(255,255,255,0.6);font-style:italic}

/* lists */
.lg-body ul,.lg-body ol{margin:0.4rem 0 1.2rem;padding-left:0}
.lg-body li{
  position:relative;list-style:none;
  padding-left:1.6rem;margin-bottom:0.6rem;
  color:rgba(255,255,255,0.76);
}
.lg-body ul > li::before{
  content:'';position:absolute;left:0.15rem;top:0.7em;
  width:6px;height:6px;border-radius:50%;
  background:#0eb8a0;opacity:0.8;
}
.lg-body ol{counter-reset:lgcount}
.lg-body ol > li{counter-increment:lgcount}
.lg-body ol > li::before{
  content:counter(lgcount);
  position:absolute;left:0;top:0.05em;
  font-family:'Share Tech Mono',monospace;
  font-size:0.72rem;color:#0eb8a0;
}
/* nested ordered list with letters */
.lg-body ol ol{margin:0.5rem 0 0.5rem}
.lg-body ol ol > li::before{content:counter(lgcount,lower-alpha)}

/* callout card */
.lg-card{
  background:rgba(255,255,255,0.035);
  border:0.5px solid rgba(255,255,255,0.12);
  border-radius:16px;
  padding:1.5rem 1.75rem;
  margin:1.4rem 0;
}
.lg-card .lg-h3:first-child{margin-top:0}

/* small mono note row, e.g. RPO/RTO metrics */
.lg-metrics{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:0.9rem;
  margin:1.2rem 0;
}
.lg-metric{
  border:0.5px solid rgba(255,255,255,0.12);border-radius:14px;
  padding:1.1rem 1.25rem;background:rgba(6,19,34,0.4);
}
.lg-metric .k{font-family:'Share Tech Mono',monospace;font-size:0.9rem;color:#0eb8a0;letter-spacing:0.04em}
.lg-metric .v{font-size:0.85rem;color:rgba(255,255,255,0.7);margin-top:0.35rem;line-height:1.55}

/* ── FOOTER ── */
.lg-footer{
  position:relative;z-index:1;
  border-top:0.5px solid rgba(255,255,255,0.10);
  background:rgba(4,13,24,0.6);
  padding:2.6rem 2rem 2.2rem;
}
.lg-footer-inner{max-width:860px;margin:0 auto}
.lg-footer-brand{display:flex;align-items:center;gap:10px;margin-bottom:1.4rem;color:#fff;font-family:'Instrument Serif',serif;font-size:1.2rem}
.lg-foot-col-title{
  font-family:'Share Tech Mono',monospace;
  font-size:0.68rem;letter-spacing:0.14em;text-transform:uppercase;
  color:rgba(255,255,255,0.4);margin-bottom:0.9rem;
}
.lg-foot-links{display:flex;flex-wrap:wrap;gap:0.55rem 1.6rem;margin-bottom:1.8rem}
.lg-foot-links a{font-size:0.82rem;color:rgba(255,255,255,0.6)}
.lg-foot-links a:hover{color:#0eb8a0}
.lg-foot-links a.current{color:#0eb8a0;font-weight:500}
.lg-copy{
  font-size:0.72rem;color:rgba(255,255,255,0.34);letter-spacing:0.04em;
  border-top:0.5px solid rgba(255,255,255,0.08);padding-top:1.3rem;
}

@media(max-width:768px){
  .lg-nav{padding:0 1.25rem}
  .lg-back{display:none}
  .lg-header{padding:3.2rem 1.4rem 2rem}
  .lg-body{padding:2.2rem 1.4rem 3rem}
  .lg-footer{padding:2.2rem 1.4rem}
}
