/* =========================================================
   Privacy Page Styles  —  Baba Supersign
   Fully responsive across mobile, tablet, laptop & desktop
   ========================================================= */

:root{
    --brand:#1a56db;
    --brand-dark:#1540a8;
    --ink:#1f2937;
    --muted:#6b7280;
    --line:#e5e7eb;
    --bg:#f8fafc;
    --surface:#ffffff;
    --accent:#eef2ff;
    --radius:10px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
    color:var(--ink);
    background:var(--bg);
    line-height:1.65;
    font-size:16px;
    overflow-x:hidden;
}
a{color:var(--brand);text-decoration:none;word-break:break-word;overflow-wrap:break-word}
a:hover{text-decoration:underline}

/* ===== Top Bar ===== */
.topbar{
    position:sticky;top:0;z-index:50;
    background:rgba(255,255,255,.9);
    -webkit-backdrop-filter:saturate(180%) blur(8px);
    backdrop-filter:saturate(180%) blur(8px);
    border-bottom:1px solid var(--line);
}
.topbar-inner{
    max-width:1200px;margin:0 auto;
    padding:14px 24px;
    display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--ink)}
.brand .dot{
    width:28px;height:28px;border-radius:8px;
    background:linear-gradient(135deg,var(--brand),#6366f1);
    display:grid;place-items:center;color:#fff;font-size:14px;
}
.brand small{display:block;font-weight:500;color:var(--muted);font-size:12px}
.topbar .updated{font-size:13px;color:var(--muted)}
.topbar .updated b{color:var(--ink)}

/* ===== Hero ===== */
.hero{
    background:radial-gradient(1200px 400px at 20% -10%,#e0e7ff,transparent 60%),
               linear-gradient(180deg,#ffffff, var(--bg));
    border-bottom:1px solid var(--line);
    padding:56px 24px 40px;
}
.hero-inner{max-width:1200px;margin:0 auto}
.crumb{font-size:13px;color:var(--muted);margin-bottom:14px}
.crumb a{color:var(--muted)}
.crumb span{color:var(--brand)}
h1.title{
    font-size:clamp(28px,5vw,42px);
    line-height:1.15;letter-spacing:-.02em;margin-bottom:14px;
}
.meta-row{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.chip{
    display:inline-flex;align-items:center;gap:6px;
    background:var(--surface);border:1px solid var(--line);
    padding:6px 12px;border-radius:999px;font-size:13px;color:var(--muted);
}
.chip b{color:var(--ink);font-weight:600}
.lede{max-width:760px;color:var(--muted);font-size:clamp(15px,2.2vw,17px)}

/* ===== Layout ===== */
.wrap{
    max-width:1200px;margin:0 auto;
    padding:36px 24px 80px;
    display:grid;grid-template-columns:260px 1fr;gap:48px;align-items:start;
}

/* Sidebar TOC */
.toc{
    position:sticky;top:84px;
    background:var(--surface);border:1px solid var(--line);
    border-radius:var(--radius);
    padding:20px 18px;
    max-height:calc(100vh - 110px);overflow:auto;
    font-size:14px;
}
.toc h2{
    font-size:12px;text-transform:uppercase;letter-spacing:.08em;
    color:var(--muted);margin-bottom:12px;
}
.toc ol{list-style:none;counter-reset:toc}
.toc li{counter-increment:toc}
.toc li a{
    display:flex;gap:8px;color:var(--muted);
    padding:7px 8px;border-radius:6px;
    transition:all .15s;
}
.toc li a::before{
    content:counter(toc);
    min-width:20px;height:20px;border-radius:5px;
    background:var(--accent);color:var(--brand);
    font-size:11px;font-weight:700;
    display:grid;place-items:center;flex-shrink:0;margin-top:1px;
}
.toc li a:hover{background:var(--accent);color:var(--ink);text-decoration:none}
.toc li a.active{background:var(--accent);color:var(--brand);font-weight:600}

/* Content */
.content{min-width:0}
.content section{
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:28px 32px;
    margin-bottom:18px;
    scroll-margin-top:90px;
}
.content section h2{
    font-size:clamp(18px,3vw,22px);letter-spacing:-.01em;margin-bottom:6px;
    display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;
}
.content section h2 .num{
    color:var(--brand);font-variant-numeric:tabular-nums;
}
.content section h3{font-size:clamp(15px,2.2vw,16px);margin:20px 0 8px;color:var(--ink)}
.content section p{margin:10px 0;color:#374151;word-break:break-word;overflow-wrap:break-word}
.content section ul{margin:10px 0 10px 4px;list-style:none}
.content section ul li{
    position:relative;padding-left:24px;margin:7px 0;color:#374151;
}
.content section ul li::before{
    content:"";position:absolute;left:6px;top:9px;
    width:7px;height:7px;border-radius:50%;background:var(--brand);
}
.content section strong{color:var(--ink)}

/* ===== Responsive Tables =====
   Scrollable horizontally on small screens, no layout break */
.table-scroll,.content section table{
    width:100%;
}
.content section table{
    border-collapse:collapse;margin:14px 0;font-size:15px;
    display:block;                 /* enables overflow scrolling */
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    max-width:100%;
}
table th,table td{
    text-align:left;padding:12px 14px;border:1px solid var(--line);
    white-space:normal;word-break:break-word;overflow-wrap:break-word;
    vertical-align:top;
}
table th{background:var(--accent);color:var(--brand-dark);font-weight:600}
table tr:nth-child(even) td{background:#fbfcfe}

/* Contact card */
.contact-card{
    background:linear-gradient(135deg,#eef2ff,#f5f3ff);
    border:1px solid #c7d2fe;border-radius:var(--radius);
    padding:22px 24px;margin-top:12px;
}
.contact-card h3{margin-top:0}
.contact-grid{
    display:grid;grid-template-columns:130px 1fr;gap:8px 16px;font-size:15px;
}
.contact-grid dt{color:var(--muted);font-weight:500}
.contact-grid dd{color:var(--ink);font-weight:500;word-break:break-word;overflow-wrap:break-word}

/* Footer */


/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */

/* ---- Large tablets & small laptops (<=1024px) ---- */
@media (max-width:1024px){
    .wrap{
        grid-template-columns:1fr;
        gap:28px;
        padding:32px 24px 64px;
    }
    .toc{
        position:relative;top:auto;
        max-height:none;
        overflow:visible;
    }
    .content section{padding:24px 26px}
}

/* ---- Tablets (<=860px) ---- */
@media (max-width:860px){
    .wrap{grid-template-columns:1fr;gap:24px;padding-top:24px}
    .toc{position:static;max-height:none}
    h1.title{font-size:clamp(26px,6vw,32px)}
    .content section{padding:22px 18px}
    .topbar-inner{padding:12px 16px;flex-wrap:wrap}
    .hero{padding:40px 16px 30px}
    .contact-grid{grid-template-columns:110px 1fr}
}

/* ---- Small phones (<=480px) ---- */
@media (max-width:480px){
    body{font-size:15px}
    .wrap{padding:18px 14px 48px}
    .hero{padding:30px 14px 24px}
    .topbar-inner{padding:10px 14px;gap:8px}
    .brand{gap:8px;font-size:15px}
    .brand .dot{width:24px;height:24px;font-size:12px}
    .topbar .updated{font-size:12px;width:100%;text-align:left}
    h1.title{font-size:clamp(22px,7vw,26px);margin-bottom:10px}
    .lede{font-size:14px}
    .chip{font-size:12px;padding:5px 10px}
    .content section{padding:18px 14px;margin-bottom:14px}
    .content section h2{font-size:17px;gap:6px}
    .content section h3{font-size:14px}
    .content section p,
    .content section ul li{font-size:14px}
    table th,table td{padding:9px 10px;font-size:13.5px}
    .contact-card{padding:16px 16px}
    .contact-grid{
        grid-template-columns:1fr;
        gap:4px 0;
        font-size:14px;
    }
    .contact-grid dt{
        margin-top:8px;font-size:12px;text-transform:uppercase;letter-spacing:.04em;
    }
    .toc{padding:16px 14px;font-size:13px}
    .toc li a{padding:6px 6px}
}

/* ===== Privacy Policy Heading Banner ===== */
.pp-heading-banner{
    background:#111;
    background:linear-gradient(135deg,#1a1a1a 0%,#000 100%);
    color:#fff;
    padding:120px 0 38px;
    border-bottom:4px solid #fed700;
    position:relative;
    width:100%;
    overflow:hidden;
}
.pp-heading-banner::after{
    content:"";
    position:absolute;
    left:0;right:0;bottom:-4px;
    height:4px;
    background:linear-gradient(90deg,#fed700 0%,#ffd000 50%,#fed700 100%);
}
.pp-heading-inner{
    max-width:1200px;
    margin:0 auto;
    padding:0 24px;
}
.pp-heading-top{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:14px;
    flex-wrap:wrap;
}
.pp-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:46px;height:46px;
    background:#fed700;
    color:#111;
    border-radius:10px;
    flex-shrink:0;
}
.pp-heading-banner h1{
    margin:0;
    font-size:clamp(22px,4.5vw,34px);
    font-weight:800;
    line-height:1.15;
    letter-spacing:-.5px;
    color:#fff;
    word-break:break-word;overflow-wrap:break-word;
}
.pp-meta{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px 10px;
    font-size:clamp(13px,2vw,15px);
    color:#d9d9d9;
    margin-bottom:10px;
}
.pp-meta-item{align-items:center;}
.pp-link{color:#fed700;text-decoration:none;font-weight:500;transition:color .2s;word-break:break-all}
.pp-link:hover{color:#fff;text-decoration:underline;}
.pp-sep{color:#555;}
.pp-meta strong{color:#fff;font-weight:700;}
.pp-dates{
    font-size:clamp(12px,1.8vw,13.5px);
    color:#b0b0b0;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:6px 10px;
}
.pp-dates strong{color:#fed700;font-weight:600;}
.pp-dot{color:#555;}

/* ===== Banner responsive ===== */
@media (max-width:768px){
    .pp-heading-banner{padding:88px 0 30px;}
    .pp-heading-inner{padding:0 18px}
    .pp-icon{width:40px;height:40px;}
    .pp-icon svg{width:18px;height:18px}
    .pp-meta{font-size:13.5px;}
    .pp-dates{font-size:12.5px;}
}
@media (max-width:480px){
    .pp-heading-banner{padding:110px 0 26px;}
    .pp-heading-inner{padding:0 14px}
    .pp-heading-top{gap:10px;}
    .pp-sep{display:none;}
    .pp-meta{gap:6px 8px;}
    .pp-icon{width:36px;height:36px;border-radius:8px}
    .pp-icon svg{width:16px;height:16px}
    .pp-meta-item,.pp-link,.pp-dates{font-size:12.5px;}
}

/* ===== Reduced motion accessibility ===== */
@media (prefers-reduced-motion:reduce){
    html{scroll-behavior:auto}
    *{transition:none !important;animation:none !important}
}
