:root {
    --gold: #884929;
    --gold2: #6b381f;
    --bg: #fdf9f5;
    --bg2: #fff;
    --bg3: #f6eee6;
    --text: #2b2320;
    --dim: #67564d;
    --card: #fffdfb;
    --border: #e8dacf;
    --green: #237153;
    --red: #ab3843;
    --page-width: 820px;
    --heading-font: Georgia, "Noto Sans Bengali", "Noto Sans Devanagari", serif;
    --gutter: 20px;
}

body { line-height: 1.7; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}
.nav {
    min-height: 64px;
    padding: 12px max(var(--gutter), calc((100% - var(--page-width)) / 2 + var(--gutter)));
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    gap: 12px;
}
.nav-logo { min-width: 0; }
.nav-logo img {
    width: 152px;
    height: auto;
    background: #28201c;
    border-radius: 6px;
    padding: 5px 8px;
}
.lang-sw { background: var(--bg3); border-color: var(--border); }
.lang-sw button { color: var(--dim); }
.lang-sw button.on { background: var(--gold); color: #fff; }
.nav-dl, .cat-header .see-all {
    color: var(--gold);
    background: var(--bg2);
    border-color: var(--border);
}
body > .bd-flags, .footer .bd-flags, .hero-bg, .hero-chip, .hero-info { display: none; }

main {
    max-width: var(--page-width);
    margin-inline: auto;
    padding: 0 var(--gutter) 34px;
}
.hero {
    margin: 0;
    padding: clamp(32px, 7vw, 64px) 0 28px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.hero-inner {
    max-width: 650px;
    padding: 0;
    margin-inline: auto;
}
.hero h1 {
    color: var(--text);
    font: 500 clamp(26px, 4.8vw, 38px)/1.3 var(--heading-font);
    letter-spacing: normal;
    margin: 0 auto 14px;
}
.hero h1 .gold { color: var(--gold); }
.hero-sub {
    margin: 0 auto 22px;
    max-width: 58ch;
    color: var(--dim);
    font: 400 16px/1.7 var(--heading-font);
}
.hero-cta { justify-content: center; align-items: center; }
.btn-dl, .float-cta .float-dl {
    background: var(--gold);
    color: #fff;
    border-radius: 7px;
    box-shadow: none;
}
.btn-dl:hover, .float-cta .float-dl:hover { background: var(--gold2); }
.download-source { color: var(--dim); }
.install-notice, .brand-guide {
    background: var(--card);
    color: var(--text);
    border-color: var(--border);
    border-radius: 8px;
}
.install-notice { max-width: 62ch; margin: 18px auto 0; text-align: center; }
.install-notice a, .brand-guide a { color: var(--gold); }

main > section:not(.hero) { padding-inline: 0; }
.cat-section { padding-top: 36px; border-bottom: 1px solid var(--border); }
.cat-header {
    padding: 0;
    margin-bottom: 4px;
    gap: 12px;
    align-items: baseline;
}
.cat-header h2 {
    color: var(--gold);
    font-size: 17px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.cat-header .emoji { display: none; }
.cat-header .see-all { border: 0; background: none; padding: 0; text-decoration: underline; }
.cat-section > p { color: var(--dim); font-size: 13.5px; }
.catalog-list { margin-top: 4px; }
.catalog-list > [data-download] {
    width: 100%;
    padding-block: 22px;
    border-bottom: 1px solid var(--border);
}
.catalog-list > [data-download]:last-child { border-bottom: 0; }
.catalog-list > [data-download]:hover .title,
.catalog-list > [data-download]:hover h3 { color: var(--gold); text-decoration: underline; }
.catalog-list .content-card .thumb,
.catalog-list .wide-card .thumb img,
.catalog-list .wide-card .thumb .overlay .tag { display: none; }
.catalog-list .wide-card .thumb {
    width: 100%;
    height: auto;
    background: none;
}
.catalog-list .wide-card .thumb .overlay { position: static; padding: 0; background: none; }
.catalog-list .content-card .title,
.catalog-list .wide-card .thumb .overlay h3 {
    margin: 0;
    color: var(--text);
    font: 600 18px/1.45 var(--heading-font);
    white-space: normal;
}
.catalog-list .content-card .meta,
.catalog-list .wide-card .thumb .overlay p { margin: 5px 0 0; color: var(--dim); font-size: 13px; }
.highlights h2, .compare h2, .install-section h2, .faq-section h2, .share-card h2 {
    color: var(--text);
    font-family: var(--heading-font);
    font-size: clamp(19px, 3vw, 25px);
}
.content-card .title, .hl-card h3, .step-card .stxt h3, .app-info td:last-child, .faq-q { color: var(--text); }
.content-card .thumb, .wide-card .thumb { border-radius: 8px; }
.install-section h2 { justify-content: center; }
.highlights h2, .faq-section h2 { text-align: center; }
.priv-section::before { display: none; }
.priv-card, .share-card {
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
}
.priv-card h3, .priv-card p, .share-card > p, .share-progress .sp-text, .share-link span { color: var(--text); }
.share-progress, .share-link, .share-btn.cp { background: var(--bg3); color: var(--text); }
.share-progress .sp-label { color: var(--dim); }
.footer {
    background: var(--bg2);
    color: var(--dim);
    font-size: 13px;
}
.footer a { color: var(--gold); margin-inline: 6px; text-decoration: underline; }
.footer-contact span { display: none; }
html[lang="bn"] .footer-contact [lang="bn"],
html[lang="en"] .footer-contact [lang="en"],
html[lang="es"] .footer-contact [lang="es"],
html[lang="hi"] .footer-contact [lang="hi"] { display: inline; }
.float-cta {
    background: var(--bg2);
    border-color: var(--border);
}
.float-cta .float-dl { max-width: 360px; margin-inline: auto; }

@media (max-width: 600px) {
    :root { --gutter: 16px; }
    .nav { min-height: 58px; justify-content: center; flex-wrap: wrap; }
    .nav-logo img { width: 124px; }
    .hero-inner { padding: 0; }
}
@media (max-width: 365px) {
    .nav { padding-inline: 10px; gap: 6px; }
    .nav-logo img { width: 105px; }
    .nav-right { gap: 5px; }
}
