/* Shared styles for Noqey subpages (privacy, terms, support) and the big footer */
:root {
  --bg: #08090d; --bg-2: #0e1017; --surface: #14161f; --surface-2: #1b1e2a;
  --line: #23273384; --text: #f2f3f8; --muted: #9aa0b2; --faint: #656b7d;
  --accent: #8b7bff; --accent-2: #c65cff; --glow: rgba(139,123,255,0.28);
  --sans: -apple-system, "SF Pro Display", system-ui, "Segoe UI", Roboto, sans-serif;
  --radius: 20px;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #f3f4f9; --bg-2: #ffffff; --surface: #ffffff; --surface-2: #f6f7fc;
    --line: #e4e7f0; --text: #10131c; --muted: #565d72; --faint: #8b91a4; --glow: rgba(139,123,255,0.16); }
}
:root[data-theme="dark"] { --bg: #08090d; --bg-2: #0e1017; --surface: #14161f; --surface-2: #1b1e2a;
  --line: #23273384; --text: #f2f3f8; --muted: #9aa0b2; --faint: #656b7d; }
:root[data-theme="light"] { --bg: #f3f4f9; --bg-2: #ffffff; --surface: #ffffff; --surface-2: #f6f7fc;
  --line: #e4e7f0; --text: #10131c; --muted: #565d72; --faint: #8b91a4; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Nav */
nav { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--bg) 74%, transparent);
  backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 700; letter-spacing: -0.03em; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .logo { width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: linear-gradient(180deg, #23273a, #12141d); border: 1px solid var(--line); display: grid; place-items: center; }
.brand .q { color: var(--accent); }
.btn { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600;
  padding: 10px 20px; border-radius: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; border: none; box-shadow: 0 12px 34px -8px var(--glow); transition: transform .12s ease; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }

/* Document / legal page content */
.doc { max-width: 720px; margin: 0 auto; padding: 64px 24px 90px; }
.doc .eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.doc h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; margin: 14px 0 10px; }
.doc .updated { color: var(--faint); font-size: 14px; margin-bottom: 44px; }
.doc h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 40px 0 12px; }
.doc p { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.doc ul { color: var(--muted); font-size: 16px; margin: 0 0 14px 20px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--text); font-weight: 600; }
.doc a { color: var(--accent); }
.doc .lead { color: var(--text); font-size: 19px; margin-bottom: 8px; }

/* Contact form (support page) */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-top: 8px; }
.form label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin: 16px 0 7px; }
.form label:first-child { margin-top: 0; }
.form input, .form textarea { width: 100%; padding: 12px 14px; border-radius: 11px; background: var(--bg-2);
  border: 1px solid var(--line); color: var(--text); font-family: var(--sans); font-size: 15px; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form textarea { min-height: 130px; resize: vertical; }
.form .submit { margin-top: 20px; cursor: pointer; }
.faq { display: grid; gap: 2px; margin-top: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-size: 20px; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { padding-bottom: 16px; margin: 0; }

/* Big footer (shared with the landing page) */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 66px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand .brand { font-size: 20px; margin-bottom: 16px; }
.footer-brand .tag { color: var(--muted); font-size: 15px; max-width: 34ch; }
.footer-brand .made { color: var(--faint); font-size: 13px; margin-top: 18px; line-height: 1.7; }
.maker-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.maker-link:hover { color: var(--accent); }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; color: var(--muted); font-size: 15px; margin-bottom: 11px; }
.footer-col a:hover { color: var(--text); text-decoration: none; }
.footer-col .small { color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; flex-wrap: wrap; }
.footer-bottom .fb-links { display: flex; gap: 20px; }
.footer-bottom a { color: var(--faint); } .footer-bottom a:hover { color: var(--text); text-decoration: none; }

@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
