/* ═══════════════════════════════════════════════════════════════
   LEGAL PAGES — shared stylesheet (.lgl-*)
   File: /static/css/shell/mani-legal-ltr.css

   Single source for privacy / terms / refund / nda / sla.
   These five pages shipped five byte-near-identical 20 KB copies of this
   file; they are now thin @import stubs that point here.
   NEXT WAVE: map all five pages to this file in _resolveCssName
   (templates/mani/shell_{ar,en}.html) and delete the five stubs.
   Reconciled variants: .lgl-table-wrap keeps the box-shadow (4/5 files had it);
   the duplicated font-weight in mani-nda-ltr.css was dropped.
   ═══════════════════════════════════════════════════════════════ */

/* ============================================================
   LEGAL PAGES  —  Shared across: nda, privacy, refund, sla, terms
   Namespace: frag-legal  /  lgl-*
   File: mani-legal-ltr.css
   ============================================================ */

/* ---------- Keyframes ---------- */
@keyframes lgl-rise {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes lgl-line-grow {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

@keyframes lgl-badge-pop {
    0%   { transform: scale(0.8); opacity: 0; }
    70%  { transform: scale(1.06); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes lgl-glow-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(var(--blue-rgb),0.15); }
    50%       { box-shadow: 0 0 0 10px rgba(var(--blue-rgb),0); }
}

/* ---------- Reveal helpers ---------- */
.frag-legal .lgl-ri  { animation: lgl-rise .65s cubic-bezier(.22,1,.36,1) both; }
.frag-legal .lgl-d1  { animation-delay: .05s; }
.frag-legal .lgl-d2  { animation-delay: .10s; }
.frag-legal .lgl-d3  { animation-delay: .15s; }

/* ---------- Root tokens ---------- */
.frag-legal {
    --sans: 'Plus Jakarta Sans', system-ui, sans-serif;

    font-family: var(--sans);
    color: var(--ink2);
    line-height: 1.6;
    background: var(--white);
}

.frag-legal a { text-decoration: none; color: inherit; }
.frag-legal img { max-width: 100%; display: block; }

/* ---------- Layout Wrapper ---------- */

/* ============================================================
   HERO BANNER
   ============================================================ */
.lgl-hero {
    position: relative;
    padding: 64px 24px 56px;
    text-align: center;
    background: var(--ink);
    overflow: hidden;
}

/* Dot grid texture */
.lgl-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

/* Blue glow from top */
.lgl-hero::after {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 220px;
    background: radial-gradient(ellipse, rgba(var(--blue-rgb),.35) 0%, transparent 70%);
    pointer-events: none;
}

.lgl-hero-inner {
    position: relative;
    z-index: 2;
}

/* Eye label */

.lgl-hero h1 {
    font-size: 40px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1.2px;
    line-height: 1.15;
    margin: 0 0 14px;
}

.lgl-hero h1 em {
    color: var(--blue);
    font-style: normal;
}

.lgl-hero-meta {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255,255,255,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.lgl-hero-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lgl-hero-meta i {
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
}

/* ---------- Quick nav pills ---------- */
.lgl-nav-strip {
    background: var(--snow);
    border-bottom: 1px solid var(--mist);
    padding: 12px 24px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.lgl-nav-strip-in {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.lgl-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: var(--slate);
    background: var(--white);
    border: 1px solid var(--mist);
    cursor: pointer;
    transition: .2s;
    text-decoration: none;
}

.lgl-nav-pill:hover,
.lgl-nav-pill.active {
    background: var(--blue-l);
    color: var(--blue);
    border-color: var(--blue-xl);
}

.lgl-nav-pill i { font-size: 13px; font-weight: 700; }

/* ============================================================
   BODY LAYOUT — sidebar TOC + main content
   ============================================================ */
.lgl-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    padding: 56px 24px 80px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

/* ---- Table of Contents Sidebar ---- */
.lgl-toc {
    position: sticky;
    top: 60px;
}

.lgl-toc-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--silver);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--mist);
}

.lgl-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lgl-toc-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--slate);
    transition: .2s;
    border-left: 2px solid transparent;
}

.lgl-toc-list a:hover,
.lgl-toc-list a.lgl-toc-active {
    color: var(--blue);
    background: var(--blue-l);
    border-left-color: var(--blue);
}

.lgl-toc-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--mist);
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    color: var(--slate);
    flex-shrink: 0;
    transition: .2s;
}

.lgl-toc-list a:hover .lgl-toc-num,
.lgl-toc-list a.lgl-toc-active .lgl-toc-num {
    background: var(--blue);
    color: var(--white);
}

/* ---- Main content area ---- */
.lgl-content {
    min-width: 0;
}

/* ============================================================
   SECTION BLOCKS
   ============================================================ */
.lgl-section {
    margin-bottom: 48px;
    scroll-margin-top: 72px;
}

/* Section header */
.lgl-sec-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--mist);
    position: relative;
}

/* Animated underline */
.lgl-sec-head::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--blue);
    border-radius: 2px;
    transform-origin: left;
    animation: lgl-line-grow .5s cubic-bezier(.22,1,.36,1) .3s both;
}

.lgl-sec-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--blue);
    color: var(--white);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 4px 12px rgba(var(--blue-rgb),.25);
}

.lgl-sec-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    letter-spacing: -.3px;
    line-height: 1.3;
}

/* Body text */
.lgl-body {
    font-size: 16px;
    font-weight: 400;
    color: var(--slate);
    line-height: 1.8;
    margin: 0 0 16px;
}

.lgl-body:last-child { margin-bottom: 0; }

.lgl-body a {
    color: var(--blue);
    font-weight: 700;
    border-bottom: 1px solid var(--blue-xl);
    transition: .15s;
}

.lgl-body a:hover {
    border-bottom-color: var(--blue);
    color: var(--blue-h);
}

/* Strong inside body */
.lgl-body strong {
    color: var(--ink2);
    font-weight: 800;
}

/* ============================================================
   LIST STYLES
   ============================================================ */

/* Checked list */
.lgl-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lgl-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink2);
    line-height: 1.65;
    padding: 10px 14px;
    background: var(--snow);
    border: 2px solid var(--mist);
    border-radius: var(--r-xl);
    transition: .2s;
}

.lgl-list li:hover {
    background: var(--blue-l);
    border-color: var(--blue-xl);
}

.lgl-list li::before {
    content: '';
    display: inline-flex;
    width: 18px;
    height: 18px;
    background: var(--blue);
    border-radius: 5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Numbered list */

/* ============================================================
   CALLOUT CARDS  (highlight / warning / info)
   ============================================================ */
.lgl-callout {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 14px;
    margin-bottom: 16px;
    border: 1px solid;
}

.lgl-callout--blue {
    background: var(--blue-l);
    border-color: var(--blue-xl);
}

.lgl-callout--green {
    background: var(--green-l);
    border-color: var(--green-xl);
}

.lgl-callout--amber {
    background: var(--amber-l);
    border-color: var(--amber-xl);
}

.lgl-callout--red {
    background: var(--red-l);
    border-color: var(--red-xl);
}

.lgl-callout-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.lgl-callout--blue  .lgl-callout-icon { background: var(--blue-xl); color: var(--blue); }
.lgl-callout--green .lgl-callout-icon { background: var(--green-xl); color: var(--green); }
.lgl-callout--amber .lgl-callout-icon { background: var(--amber-l); color: var(--amber-d); }
.lgl-callout--red   .lgl-callout-icon { background: var(--red-l); color: var(--red); }

.lgl-callout-body {}

.lgl-callout-title {
    font-size: 13px;
    font-weight: 800;
    margin: 0 0 4px;
}

.lgl-callout--blue  .lgl-callout-title { color: var(--blue-d); }
.lgl-callout--green .lgl-callout-title { color: var(--green-d); }
.lgl-callout--amber .lgl-callout-title { color: var(--amber-d); }
.lgl-callout--red   .lgl-callout-title { color: var(--red-d); }

.lgl-callout-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    margin: 0;
    color: var(--slate);
}

/* ============================================================
   DATA TABLE  (SLA response times, etc.)
   ============================================================ */
.lgl-table-wrap {
    background: var(--snow);
    border: 2px solid var(--mist);
    border-radius: var(--r-xl);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,.03);
}

.lgl-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.lgl-table thead th {
    background: var(--ink);
    color: rgba(255,255,255,.75);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 14px 18px;
    text-align: start;
}

.lgl-table thead th:first-child { color: var(--white); }

.lgl-table tbody tr {
    border-bottom: 1px solid var(--snow);
    transition: .15s;
}

.lgl-table tbody tr:last-child { border-bottom: none; }

.lgl-table tbody tr:hover { background: var(--blue-l); }

.lgl-table td {
    padding: 13px 18px;
    vertical-align: middle;
    color: var(--ink2);
    font-weight: 600;
}

.lgl-table td:first-child {
    font-weight: 700;
    color: var(--ink);
}

.lgl-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
}

.lgl-badge--red    { background: var(--red-l);    color: var(--red-d); border: 1px solid var(--red-xl); }
.lgl-badge--amber  { background: var(--amber-l);  color: var(--amber-d); border: 1px solid var(--amber-xl); }
.lgl-badge--blue   { background: var(--blue-l);   color: var(--blue-d); border: 1px solid var(--blue-xl); }
.lgl-badge--green  { background: var(--green-l);  color: var(--green-d); border: 1px solid var(--green-xl); }

/* ============================================================
   CONTACT CARD
   ============================================================ */
.lgl-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 16px;
}

.lgl-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--snow);
    border: 2px solid var(--mist);
    border-radius: var(--r-xl);
    transition: .2s;
    text-decoration: none;
    color: inherit;
}

.lgl-contact-item:hover {
    border-color: var(--blue);
    background: var(--blue-l);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(var(--blue-rgb),.08);
}

.lgl-contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.lgl-contact-icon--blue   { background: var(--blue-l); color: var(--blue); }
.lgl-contact-icon--green  { background: var(--green-l); color: var(--green); }
.lgl-contact-icon--amber  { background: var(--amber-l); color: var(--amber-d); }
.lgl-contact-icon--purple { background: var(--purple-l); color: var(--purple); }

.lgl-contact-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 2px;
}

.lgl-contact-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

/* ============================================================
   ESCALATION STEPS  (SLA)
   ============================================================ */
.lgl-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    margin-bottom: 16px;
}

.lgl-steps::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, var(--blue), var(--mist));
}

.lgl-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    position: relative;
    z-index: 1;
}

.lgl-step-dot {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(var(--blue-rgb),.3);
}

.lgl-step-body {}

.lgl-step-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 4px;
}

.lgl-step-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--slate);
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   CTA BOTTOM SECTION
   ============================================================ */
.lgl-cta {
    padding: var(--sec-y) 24px;
    background: var(--snow);
    border-top: 1px solid var(--mist);
}

.lgl-cta-box {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    background: var(--ink);
    border-radius: 24px;
    padding: 52px 40px;
    position: relative;
    overflow: hidden;
}

.lgl-cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}

.lgl-cta-box::after {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(var(--blue-rgb),.3) 0%, transparent 70%);
    pointer-events: none;
}

.lgl-cta-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 10px;
    position: relative;
    z-index: 2;
    letter-spacing: -.4px;
}

.lgl-cta-box p {
    color: rgba(255,255,255,.55);
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 28px;
    position: relative;
    z-index: 2;
}

.lgl-cta-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* ============================================================
   PROGRESS / STATS STRIP
   ============================================================ */
.lgl-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--snow);
    border: 2px solid var(--mist);
    border-radius: var(--r-xl);
    overflow: hidden;
    margin-bottom: 32px;
}

.lgl-stat-item {
    background: var(--white);
    padding: 24px;
    text-align: center;
}

.lgl-stat-val {
    font-size: 28px;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 6px;
}

.lgl-stat-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: .1em;
}

/* ============================================================
   INLINE DIVIDER
   ============================================================ */
.lgl-divider {
    height: 1px;
    background: var(--mist);
    margin: 32px 0;
    position: relative;
}

.lgl-divider::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 56px;
    height: 2px;
    background: var(--blue);
    border-radius: 2px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .lgl-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 40px 20px 60px;
    }

    .lgl-toc {
        position: static;
        display: none; /* hidden on mobile, nav-strip takes over */
    }

    .lgl-contact-grid {
        grid-template-columns: 1fr;
    }

    .lgl-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .lgl-hero {
        padding: 48px 20px 44px;
    }

    .lgl-hero h1 {
        font-size: 40px;
    }

    .lgl-cta-box {
        padding: 40px 22px;
    }

    .lgl-sec-title {
        font-size: 20px;
    }

    .lgl-nav-strip-in {
        gap: 4px;
    }

    .lgl-nav-pill {
        font-size: 13px;
        padding: 5px 10px;
    }
}