/* Minimal, readable, mobile-first styles for Support page */
:root {
  --bg: #0e1020;
  --card: #161a2e;
  --fg: #e9ecff;
  --muted: #b7c0ff;
  --accent: #6da3ff;
  --border: #273058;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: linear-gradient(180deg, #0d1022, #0e1020 60%);
  color: var(--fg);
}
.container {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 16px;
}
.header {
  border-bottom: 1px solid var(--border);
  background: rgba(10, 12, 28, 0.7);
  backdrop-filter: saturate(120%) blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 28px; height: 28px; border-radius: 6px; }
.brand__title { font-size: 18px; margin: 0; }
.brand__subtitle { font-size: 12px; opacity: 0.75; }

.lang-switch { display: flex; gap: 8px; }
.lang-switch__btn {
  appearance: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.lang-switch__btn.is-active {
  border-color: var(--accent);
  color: #fff;
  background: linear-gradient(180deg, rgba(109,163,255,0.18), rgba(109,163,255,0.08));
}

main { padding: 18px 0 40px; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  margin: 12px 0;
}
.card h2 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0 0 8px; color: var(--muted); }
.card ul, .card ol { margin: 8px 0 0 20px; }
.card li { margin: 4px 0; }

/* feature list and inline code tweaks */
.feature-list { margin-left: 18px; }
.feature-list li { margin: 6px 0; line-height: 1.5; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; background: rgba(255,255,255,0.08); padding: 1px 5px; border-radius: 6px; border: 1px solid var(--border); }

details { border-top: 1px dashed var(--border); padding-top: 10px; margin-top: 10px; }
details:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
summary { cursor: pointer; font-weight: 600; }
.details__content { color: var(--muted); margin-top: 6px; }

.note { font-size: 12px; color: var(--muted); }

.footer {
  border-top: 1px solid var(--border);
  background: rgba(10, 12, 28, 0.8);
}
.footer__inner {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 14px;
}
.footer a { color: var(--accent); text-decoration: none; }
.sep { opacity: 0.5; margin: 0 8px; }

@media (max-width: 640px) {
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* PDF embed helpers (used by /terms and /privacy) */
.pdf-wrap { margin-top: 8px; }
.pdf-toolbar { display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.pdf-toolbar a.button {
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--fg);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}
.pdf-embed {
  width: 100%;
  height: calc(100vh - 220px);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #0c0e1e;
}
