*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial,Helvetica,sans-serif;
    background:#f3f3f3;
    color:#221f1f;
    line-height:1.65;
}

a{
    color:inherit;
}

/* =========================
   HEADER
========================= */

.help-header{
    width:100%;
    min-height:72px;
    background:#000;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 48px;
    border-bottom:1px solid #222;
}

.header-left{
    display:flex;
    align-items:center;
    gap:18px;
}

.logo-link{
    display:flex;
    align-items:center;
    text-decoration:none;
}

.logo{
    width:160px;
    height:auto;
    display:block;
}

.divider{
    width:1px;
    height:28px;
    background:#555;
}

.help-title{
    color:#FFF;
    font-size:20px;
    text-decoration:none;
    white-space:nowrap;
}

.help-title:hover{
    text-decoration:underline;
}

.header-actions{
    display:flex;
    align-items:center;
    gap:12px;
}

.btn-outline,
.btn-red{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    padding:9px 18px;
    border-radius:3px;
    font-size:14px;
    font-weight:bold;
    line-height:1;
}

.btn-outline{
    color:#FFF;
    border:1px solid #888;
    background:transparent;
}

.btn-outline:hover{
    background:#222;
}

.btn-red{
    background:#E50914;
    color:#FFF;
}

.btn-red:hover{
    background:#c40710;
}

/* =========================
   HELP CENTER HOME
========================= */

.hero{
    background:#111;
    color:#FFF;
    padding:74px 20px 80px;
    text-align:center;
    border-bottom:1px solid #222;
}

.hero-content{
    width:100%;
    max-width:850px;
    margin:0 auto;
    position:relative;
}

.hero h1{
    font-size:44px;
    line-height:1.15;
    margin-bottom:28px;
    font-weight:700;
}

.search-box{
    display:flex;
    width:100%;
    max-width:720px;
    margin:0 auto;
    background:#FFF;
    border-radius:3px;
    overflow:hidden;
    box-shadow:0 6px 22px rgba(0,0,0,.35);
}

.search-box input{
    flex:1;
    border:none;
    padding:18px 20px;
    font-size:17px;
    outline:none;
    color:#111;
}

.search-box button{
    border:none;
    background:#E50914;
    color:#FFF;
    padding:0 28px;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
}

.search-box button:hover{
    background:#c40710;
}

.search-results{
    display:none;
    width:100%;
    max-width:720px;
    margin:8px auto 0;
    background:#fff;
    border-radius:3px;
    box-shadow:0 8px 24px rgba(0,0,0,.35);
    text-align:left;
    overflow:hidden;
    position:relative;
    z-index:20;
}

.result-item{
    display:block;
    padding:16px 20px;
    color:#111;
    text-decoration:none;
    border-bottom:1px solid #e6e6e6;
}

.result-item:hover,
.result-item.active{
    background:#f5f5f5;
}

.result-title{
    font-size:16px;
    font-weight:bold;
    color:#111;
    margin-bottom:5px;
}

.result-desc{
    font-size:14px;
    color:#555;
    line-height:1.4;
}

.result-empty{
    padding:16px 20px;
    color:#333;
    font-size:15px;
}

mark{
    background:#fff2a8;
    color:#111;
    padding:0 2px;
}

.page{
    width:100%;
    max-width:1180px;
    margin:0 auto;
    padding:46px 24px 70px;
}

.quick-links,
.topics,
.contact-box,
.help-section{
    background:#FFF;
    border:1px solid #ddd;
    border-radius:4px;
    padding:34px;
    margin-bottom:28px;
    box-shadow:0 1px 8px rgba(0,0,0,.05);
}

.quick-links h2,
.topics h2,
.contact-box h2,
.help-section h2{
    color:#221f1f;
    font-size:26px;
    margin-bottom:24px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.help-card{
    display:block;
    min-height:180px;
    border:1px solid #d6d6d6;
    border-radius:4px;
    background:#FFF;
    padding:24px 22px;
    text-decoration:none;
    color:#221f1f;
    transition:.25s;
}

.help-card:hover{
    border-color:#E50914;
    box-shadow:0 8px 22px rgba(0,0,0,.12);
    transform:translateY(-3px);
}

.help-card span{
    display:block;
    font-size:32px;
    margin-bottom:14px;
}

.help-card h3{
    font-size:18px;
    margin-bottom:10px;
    color:#111;
}

.help-card p{
    font-size:15px;
    color:#555;
    line-height:1.45;
}

.article-list{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0 28px;
}

.article-list a{
    display:block;
    color:#333;
    text-decoration:none;
    font-size:16px;
    padding:16px 0;
    border-bottom:1px solid #e6e6e6;
}

.article-list a:hover{
    color:#E50914;
    text-decoration:underline;
}

.contact-box{
    text-align:center;
}

.contact-box p{
    color:#555;
    font-size:16px;
    margin-bottom:22px;
}

.contact-actions{
    display:flex;
    justify-content:center;
    gap:14px;
    flex-wrap:wrap;
}

.contact-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:170px;
    padding:13px 22px;
    border-radius:3px;
    background:#E50914;
    color:#FFF;
    text-decoration:none;
    font-size:15px;
    font-weight:bold;
}

.contact-btn:hover{
    background:#c40710;
}

.contact-btn.dark{
    background:#111;
}

.contact-btn.dark:hover{
    background:#333;
}

/* =========================
   DOCUMENT PAGES
========================= */

.top-actions{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:14px;
    margin-bottom:34px;
}

.back-link{
    color:#E50914;
    text-decoration:none;
    font-size:15px;
    font-weight:bold;
}

.back-link:hover{
    text-decoration:underline;
}

.print-btn{
    background:#FFF;
    color:#333;
    border:1px solid #999;
    padding:10px 18px;
    border-radius:3px;
    font-size:15px;
    cursor:pointer;
}

.print-btn:hover{
    background:#f1f1f1;
}

.content{
    background:#FFF;
    border:1px solid #ddd;
    border-radius:4px;
    padding:42px 46px;
    box-shadow:0 1px 8px rgba(0,0,0,.05);
}

.content h1{
    font-size:42px;
    line-height:1.15;
    margin-bottom:28px;
    color:#221f1f;
    font-weight:700;
}

.content h2{
    font-size:26px;
    margin-top:38px;
    margin-bottom:16px;
    color:#221f1f;
}

.content h3{
    font-size:18px;
    margin-top:24px;
    margin-bottom:10px;
    color:#221f1f;
}

.content p{
    color:#333;
    font-size:16px;
    line-height:1.65;
    margin-bottom:16px;
}

.content ul{
    margin:12px 0 22px 22px;
}

.content li{
    color:#333;
    font-size:16px;
    line-height:1.6;
    margin-bottom:8px;
}

.content strong{
    font-weight:700;
}

/* Privacy layout with side menu */

.privacy-layout{
    display:grid;
    grid-template-columns:290px 1fr;
    gap:34px;
}

.side-menu{
    position:sticky;
    top:24px;
    align-self:start;
    background:#FFF;
    border:1px solid #ddd;
    border-radius:4px;
    overflow:hidden;
    box-shadow:0 1px 8px rgba(0,0,0,.05);
}

.side-menu a{
    display:block;
    color:#333;
    text-decoration:none;
    padding:14px 18px;
    font-size:14px;
    border-bottom:1px solid #eee;
    line-height:1.35;
}

.side-menu a:hover,
.side-menu a.active{
    color:#111;
    background:#f7f7f7;
    border-left:5px solid #E50914;
    padding-left:13px;
    font-weight:bold;
}

.privacy-layout .content{
    padding:42px;
}

/* =========================
   FAQ
========================= */

.faq-layout{
    display:grid;
    grid-template-columns:260px 1fr;
    gap:28px;
}

.faq-categories{
    background:#FFF;
    border:1px solid #ddd;
    border-radius:4px;
    overflow:hidden;
    align-self:start;
    position:sticky;
    top:24px;
}

.faq-categories a,
.category-link{
    display:block;
    padding:15px 18px;
    border-bottom:1px solid #eee;
    color:#333;
    text-decoration:none;
    font-size:15px;
}

.faq-categories a:hover,
.category-link:hover,
.faq-categories a.active,
.category-link.active{
    background:#f7f7f7;
    color:#E50914;
    font-weight:bold;
}

.faq-content{
    background:#FFF;
    border:1px solid #ddd;
    border-radius:4px;
    padding:34px;
}

.faq-group{
    margin-bottom:34px;
}

.faq-group h2{
    font-size:26px;
    margin-bottom:16px;
}

.faq-item{
    border-top:1px solid #e6e6e6;
}

.faq-question{
    width:100%;
    border:none;
    background:#FFF;
    padding:20px 0;
    text-align:left;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
    color:#111;
    font-size:17px;
    font-weight:bold;
    cursor:pointer;
}

.faq-question:hover{
    color:#E50914;
}

.faq-icon{
    font-size:24px;
    line-height:1;
    transition:.2s;
}

.faq-item.open .faq-icon{
    transform:rotate(45deg);
}

.faq-answer{
    display:none;
    padding:0 0 20px;
    color:#444;
    line-height:1.65;
}

.faq-item.open .faq-answer{
    display:block;
}

/* =========================
   STATUS / SIMPLE CARDS
========================= */

.status-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.status-card{
    background:#FFF;
    border:1px solid #ddd;
    border-radius:4px;
    padding:24px;
}

.status-ok{
    color:#1f8f45;
    font-weight:bold;
}

.status-warning{
    color:#c68100;
    font-weight:bold;
}

.status-error{
    color:#E50914;
    font-weight:bold;
}

/* =========================
   FOOTER
========================= */

.footer{
    background:#000;
    color:#737373;
    padding:38px 0;
}

.footer-content{
    max-width:1180px;
    margin:0 auto;
    padding:0 24px;
}

.footer p{
    color:#b3b3b3;
    margin-bottom:26px;
    font-size:15px;
}

.footer a{
    color:#b3b3b3;
    text-decoration:none;
}

.footer a:hover{
    text-decoration:underline;
}

.footer-links{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px 28px;
}

.footer-links a{
    color:#737373;
    font-size:13px;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1000px){
    .privacy-layout,
    .faq-layout{
        grid-template-columns:1fr;
    }

    .side-menu,
    .faq-categories{
        position:relative;
        top:0;
    }
}

@media(max-width:900px){
    .cards,
    .status-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .article-list{
        grid-template-columns:1fr;
    }
}

@media(max-width:700px){
    .help-header{
        height:auto;
        padding:18px 20px;
        gap:16px;
        align-items:flex-start;
        flex-direction:column;
    }

    .header-left{
        width:100%;
        gap:12px;
    }

    .logo{
        width:130px;
    }

    .divider{
        height:24px;
    }

    .help-title{
        font-size:18px;
    }

    .header-actions{
        width:100%;
    }

    .btn-outline,
    .btn-red{
        text-align:center;
        flex:1;
    }

    .hero{
        padding:48px 20px 54px;
    }

    .hero h1{
        font-size:34px;
    }

    .search-box{
        flex-direction:column;
    }

    .search-box button{
        padding:15px;
    }

    .search-results{
        margin-top:8px;
    }

    .page{
        padding:28px 18px 55px;
    }

    .quick-links,
    .topics,
    .contact-box,
    .help-section,
    .content,
    .privacy-layout .content,
    .faq-content{
        padding:26px 20px;
    }

    .top-actions{
        align-items:flex-start;
        flex-direction:column;
    }

    .print-btn{
        width:100%;
    }

    .cards,
    .status-grid{
        grid-template-columns:1fr;
    }

    .help-card{
        min-height:auto;
    }

    .content h1{
        font-size:34px;
    }

    .content h2{
        font-size:23px;
    }

    .footer-links{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:430px){
    .header-left{
        flex-wrap:wrap;
    }

    .divider{
        display:none;
    }

    .help-title{
        width:100%;
    }

    .hero h1{
        font-size:30px;
    }

    .quick-links h2,
    .topics h2,
    .contact-box h2,
    .help-section h2{
        font-size:23px;
    }

    .contact-btn{
        width:100%;
    }

    .footer-links{
        grid-template-columns:1fr;
    }
}

@media print{
    body{
        background:#FFF;
    }

    .help-header,
    .top-actions,
    .footer,
    .side-menu,
    .faq-categories,
    .hero,
    .contact-box{
        display:none !important;
    }

    .page{
        max-width:100%;
        padding:0;
    }

    .privacy-layout,
    .faq-layout{
        display:block;
    }

    .content,
    .privacy-layout .content,
    .faq-content{
        border:none;
        box-shadow:none;
        padding:0;
    }

    .content h1{
        font-size:30px;
    }

    .content h2{
        font-size:22px;
    }

    .content p,
    .content li{
        font-size:13px;
    }
}
