/*
 * Shared styling for the standalone documents at /privacy, /terms and /support.
 *
 * These pages must render without the app bundle — App Review and the stores open them directly,
 * and a parent may reach them before ever signing in. So: no build step, no framework, no fonts to
 * fetch. Palette matches src/index.css.
 */
:root {
  --bg: #fff3da;
  --bg-deep: #ffe3b8;
  --ink: #43301c;
  --ink-soft: #6d5334;
  --card: #fffaf0;
  --accent: #ff8fb1;
  --accent-2: #6bc8f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(170deg, var(--bg) 0%, var(--bg-deep) 100%);
  min-height: 100vh;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Nunito', 'Quicksand', system-ui,
    sans-serif;
  line-height: 1.6;
}

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 6vw, 3.5rem) 1.25rem 3rem;
}

.back {
  display: inline-block;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.back:hover {
  text-decoration: underline;
}

h1 {
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.effective {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0 0 2rem;
}

.card {
  background: var(--card);
  border-radius: 1.25rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: 0 4px 14px rgba(90, 60, 20, 0.08);
}

h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.5rem;
}

.card > h2:first-child {
  margin-top: 0;
}

p,
li {
  color: var(--ink-soft);
}

ul {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.4rem;
}

a {
  color: #b4557a;
}

.callout {
  background: rgba(107, 200, 247, 0.16);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.callout p:last-child {
  margin-bottom: 0;
}

.legalese {
  font-size: 0.9rem;
}

footer {
  margin-top: 2.5rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

footer a {
  color: var(--ink-soft);
  margin: 0 0.6rem;
}
