/* Shared look for the app support and privacy pages; matches the home page (index.html) */
:root {
  --bg: #f6f1e9;
  --bg-soft: #efe8dc;
  --card: #fffdf9;
  --ink: #1c1915;
  --ink-soft: #5e574d;
  --ink-faint: #958c7f;
  --line: #e2d9cb;
  --accent: #e8336d;
  --accent-soft: rgba(232, 51, 109, 0.1);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141210;
    --bg-soft: #1b1815;
    --card: #1f1c19;
    --ink: #f3eee6;
    --ink-soft: #b5ac9f;
    --ink-faint: #7f776c;
    --line: #302b26;
    --accent: #ff5a8c;
    --accent-soft: rgba(255, 90, 140, 0.14);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Header and footer shared by every page */
.site-head {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-head .inner, .site-foot .inner { max-width: 760px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-head .inner { height: 60px; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 21px; text-decoration: none; color: var(--ink); }
.logo span { color: var(--accent); }
.site-head nav { display: flex; gap: 22px; }
.site-head nav a { font-size: 14px; font-weight: 500; color: var(--ink-soft); text-decoration: none; }
.site-head nav a:hover { color: var(--ink); }
.site-foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 13px; color: var(--ink-faint); }
.site-foot .inner { flex-wrap: wrap; }
.site-foot a { color: var(--ink-soft); text-decoration: none; margin-left: 18px; }
.site-foot a:first-child { margin-left: 0; }
.site-foot a:hover { color: var(--accent); }

/* The document itself */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 64px; }
.doc h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(34px, 6vw, 48px); line-height: 1.08; letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.doc .meta { color: var(--ink-faint); font-size: 15px; margin-bottom: 36px; }
.doc h2 {
  font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1.25; letter-spacing: -0.01em;
  margin: 44px 0 12px;
}
.doc h3 { font-size: 16px; font-weight: 600; margin: 26px 0 8px; }
.doc p, .doc li { font-size: 16px; color: var(--ink-soft); margin-bottom: 12px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc ul, .doc ol { padding-left: 22px; margin-bottom: 12px; }
.doc li::marker { color: var(--accent); }
.doc a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.doc a:hover { text-decoration-thickness: 2px; }
.doc hr { border: none; border-top: 1px solid var(--line); margin: 44px 0 24px; }
.doc .fine { font-size: 13px; color: var(--ink-faint); }
.doc code { font-size: 0.92em; background: var(--bg-soft); padding: 1px 6px; border-radius: 6px; }

.highlight {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 14px; padding: 18px 20px; margin: 24px 0; color: var(--ink-soft);
}

.tablewrap { overflow-x: auto; margin: 14px 0 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.doc table { border-collapse: collapse; width: 100%; min-width: 440px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.doc th { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); background: var(--bg-soft); }
.doc td:first-child { color: var(--ink); font-weight: 500; }
.doc tr:last-child td { border-bottom: none; }

/* Support pages */
.faq-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; margin-bottom: 14px; }
.faq-q { font-weight: 600; font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.faq-a, .faq-a p, .faq-a li { font-size: 15px; color: var(--ink-soft); }
.faq-a p { margin-bottom: 8px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a ol, .faq-a ul { margin: 8px 0 0; }
.faq-a li { margin-bottom: 4px; }
.doc .contact-badge, .btn {
  display: inline-block; margin-top: 8px; padding: 12px 22px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-weight: 600; font-size: 15px; text-decoration: none;
  border: 0; cursor: pointer; font-family: inherit;
}
.doc .contact-badge:hover, .btn:hover { opacity: 0.88; }

@media (max-width: 560px) {
  .site-head .inner, .site-foot .inner { padding: 0 16px; }
  .site-head nav { gap: 16px; }
  .doc { padding: 40px 16px 48px; }
  .doc h2 { font-size: 21px; margin-top: 36px; }
  .site-foot .inner { flex-direction: column; align-items: flex-start; }
}
