/* Shared styles for the static pages (privacy, terms, guidelines, delete account, support).
   Hand-written so those pages don't load the Tailwind CDN script, which blocks rendering. */
:root {
  color-scheme: light only;
  --ink: #111827;
  --body: #4b5563;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f9fafb;
  --rose: #f43f5e;
  --pink: #ec4899;
  --purple: #a855f7;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

.site-nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-nav .inner {
  max-width: 56rem; margin: 0 auto; padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand span, .wordmark {
  font-weight: 900; font-size: 20px; letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--rose), var(--pink), var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-link { font-size: 14px; font-weight: 700; color: var(--body); text-decoration: none; }
.nav-link:hover { color: var(--ink); }

.wrap { max-width: 46rem; margin: 0 auto; padding: 48px 24px 80px; }

/* Long-form policy text */
.doc h1 { font-size: 32px; line-height: 1.15; font-weight: 900; letter-spacing: -0.02em; margin: 0 0 16px; }
.doc h2 { font-size: 20px; font-weight: 800; margin: 36px 0 12px; }
.doc h3 { font-size: 17px; font-weight: 800; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--body); font-size: 16px; line-height: 1.7; }
.doc p { margin: 0 0 16px; }
.doc ul, .doc ol { padding-left: 24px; margin: 0 0 16px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--ink); }
.doc code { font-size: 0.9em; background: #f3f4f6; padding: 1px 5px; border-radius: 5px; }
.doc .note { font-size: 14px; color: var(--muted); margin-top: 40px; }

/* Support page */
.hero { text-align: center; margin-bottom: 32px; }
.hero h1 { font-size: clamp(32px, 7vw, 48px); line-height: 1.05; font-weight: 900; letter-spacing: -0.03em; margin: 0 0 12px; }
.hero p { font-size: 18px; color: var(--body); margin: 0; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  box-shadow: 0 20px 40px -24px rgba(17, 24, 39, 0.18);
  padding: 32px 24px; position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--rose), var(--pink), var(--purple));
}
.card h2 { font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.card .sub { color: var(--muted); font-size: 15px; margin: 0 0 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff;
}
.field input:focus, .field textarea:focus { border-color: var(--rose); outline: none; box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.12); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 15px 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: #fff; font: inherit; font-size: 16px; font-weight: 800;
}
.btn:hover { background: #000; }
.btn[disabled] { opacity: 0.6; cursor: default; }
.status { display: none; margin-bottom: 18px; padding: 12px 14px; border-radius: 14px; font-size: 14px; font-weight: 600; }
.status.ok { display: block; background: #ecfdf5; color: #047857; }
.status.err { display: block; background: #fef2f2; color: #b91c1c; }
.alt { text-align: center; font-size: 14px; color: var(--muted); margin: 18px 0 0; }

.faq { margin-top: 56px; }
.faq h2 { font-size: 24px; font-weight: 900; letter-spacing: -0.02em; margin: 0 0 16px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--body); margin: 10px 0 0; line-height: 1.6; }

.site-footer { border-top: 1px solid var(--line); background: #fff; }
.site-footer .inner {
  max-width: 56rem; margin: 0 auto; padding: 28px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  font-size: 13px; color: var(--muted);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--ink); }

@media (min-width: 640px) {
  .wrap { padding-top: 64px; }
  .card { padding: 40px; }
  .doc h1 { font-size: 40px; }
}
