/* Header + footer for the document pages (support, privacy, terms). Mirrors the landing page. */
:root { --navy:#07101F; --ink-dim:#5B6577; --lime:#C8F23A; --lime-deep:#8DB61A; --line:#E5E9F0; }
body { margin: 0; }
.topnav, footer { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.topnav .wrap, footer .wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

.topnav { position: sticky; top: 0; z-index: 50; background: rgba(0,12,34,.94); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.topnav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; display: block; }
.brand span { font-family: "Rajdhani", sans-serif; font-weight: 700; font-style: italic; font-size: 30px; letter-spacing: .02em; }
.nav-links { display: flex; gap: 34px; font-size: 14px; font-weight: 600; color: #fff; }
.nav-links a { color: #fff; text-decoration: none; opacity: .85; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--lime); }
.nav-links a.active { border-bottom-color: var(--lime); }
.nav-badges { display: flex; gap: 10px; }
.store-badge { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px; border-radius: 10px; background: #000; border: 1px solid rgba(255,255,255,.4); color: #fff; text-decoration: none; }
.store-badge .glyph { font-size: 17px; line-height: 1; display: inline-flex; }
.store-badge .glyph svg { display: block; width: 17px; height: 17px; }
.store-badge .lines { display: flex; flex-direction: column; font-size: 14px; font-weight: 600; line-height: 1.1; }
.store-badge .lines small { font-size: 8px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: #D5DAE4; }

main.doc { max-width: 760px; margin: 0 auto; padding: 44px 20px 90px; }

footer { background: #fff; border-top: 1px solid var(--line); padding: 22px 0; font-size: 13px; color: var(--ink-dim); }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
footer .brand { color: var(--navy); }
footer .brand img { width: 28px; height: 28px; border-radius: 7px; }
footer .brand span { font-size: 22px; }
footer .tag { flex: 1; text-align: center; }
footer .links { display: flex; gap: 22px; }
footer .links a { color: var(--ink-dim); text-decoration: none; }
footer .links a:hover { color: var(--lime-deep); }

@media (max-width: 1180px) { .nav-links { gap: 22px; } }
@media (max-width: 1020px) { .nav-links { display: none; } }
@media (max-width: 620px) {
  .topnav .wrap, footer .wrap { padding: 0 20px; }
  .store-badge { padding: 9px 12px; }
  .store-badge .lines { display: none; }
  .store-badge .glyph { font-size: 20px; }
  .store-badge .glyph svg { width: 20px; height: 20px; }
  footer .tag { text-align: left; flex-basis: 100%; order: 3; }
}
