/* Help and privacy pages (support.html, privacy.html) */
body { font-family: 'Inter', system-ui, sans-serif; background: #FAF6F0; color: #3B2F2A; line-height: 1.6; margin: 0; }
main { max-width: 680px; margin: 0 auto; padding: 0 16px 64px; }
h1, h2 { font-family: 'Fraunces', Georgia, serif; }
h2 { margin-top: 2em; font-size: 1.15rem; }
hr { border: none; border-top: 1px solid #E5DACB; margin: 48px 0; }
.contact { background: #F0EAE0; border-radius: 12px; padding: 16px; }
.page-bar { max-width: 680px; margin: 0 auto; padding: 32px 16px 0; }

/* ---------- Inside the iOS app (class set by js/page-native.js) ---------- */
html.native {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  overscroll-behavior-y: none;
}
html.native body { padding-bottom: env(safe-area-inset-bottom); }
html.native.lang-fr body [lang="en"],
html.native.lang-en body [lang="fr"],
html.native .bilingual-sep,
html.native hr { display: none; }

/* Bar pinned under the status bar, like a navigation bar */
html.native .page-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  max-width: none;
  padding: calc(env(safe-area-inset-top) + 6px) 8px 6px;
  background: rgba(250, 246, 240, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #E5DACB;
}
html.native .page-bar p { margin: 0; }
html.native .back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 0 8px;
  color: #A05334;
  font-weight: 600;
  text-decoration: none;
}
html.native .back-link:active { opacity: 0.5; }
html.native main { padding-top: 8px; }
html.native h1 { font-size: 1.9rem; line-height: 1.2; margin: 16px 0 8px; }

/* Links read as app buttons, not blue underlined web links */
html.native main a { color: #A05334; font-weight: 600; text-decoration: none; }
html.native main a:active { opacity: 0.5; }
html.native .mail-link {
  display: block;
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #A05334;
  color: #FFFFFF !important;
  text-align: center;
}
html.native .page-footer { margin-top: 40px !important; }
html.native .page-footer a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  background: #F0EAE0;
  color: #3B2F2A;
  font-weight: 500;
}
html.native .page-footer a::after { content: '›'; font-size: 1.4rem; color: #77604E; }
