/* Flare legal pages — tokens copied from the live flareai.me homepage so these
   pages read as part of the same site rather than a bolted-on legal annex. */

:root {
  --bg:           #F5F2EC;
  --bg-elevated:  #FBF9F4;
  --paper:        #EEE9DF;
  --surface:      #FFFFFF;
  --ink:          #1F2622;
  --ink-soft:     #5A655F;
  --ink-muted:    #98A099;
  --sage:         #8FA89A;
  --sage-deep:    #5F7868;
  --sage-tint:    #ECF1ED;
  --sage-muted:   #DEE6DF;
  --clay:         #C99A7A;
  --clay-tint:    #F2E3D5;
  --rule:         rgba(95, 120, 104, 0.16);
  --rule-strong:  rgba(95, 120, 104, 0.32);
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
}

.home {
  display: inline-block;
  margin-bottom: 2.5rem;
  color: var(--sage-deep);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}
.home:hover { text-decoration: underline; }

h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}

.updated {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin: 0 0 2.5rem;
}

.lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
}

h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 3rem 0 0.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 2rem 0 0.5rem;
  color: var(--ink);
}

p, li { color: var(--ink-soft); }
p { margin: 0 0 1.1rem; }
ul { padding-left: 1.25rem; margin: 0 0 1.1rem; }
li { margin-bottom: 0.55rem; }

strong { color: var(--ink); font-weight: 600; }

a { color: var(--sage-deep); }

code {
  background: var(--sage-tint);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}
th, td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  color: var(--ink-soft);
}
th {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--rule-strong);
}

/* Crisis / safety callout — clay rather than alarm red, matching the app's
   restraint about distress. */
.callout {
  background: var(--clay-tint);
  border-left: 3px solid var(--clay);
  border-radius: 6px;
  padding: 1.1rem 1.25rem;
  margin: 2rem 0;
}
.callout p:last-child { margin-bottom: 0; }

.note {
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  margin: 2rem 0;
}
.note p:last-child { margin-bottom: 0; }

footer {
  margin-top: 4rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
  font-size: 0.92rem;
  color: var(--ink-muted);
}
footer a { margin-right: 1.25rem; }

@media (prefers-color-scheme: dark) {
  :root {
    --bg:          #141815;
    --bg-elevated: #1B211D;
    --ink:         #ECF1ED;
    --ink-soft:    #B9C3BC;
    --ink-muted:   #7E8A83;
    --sage-tint:   #232B26;
    --clay-tint:   #2A211B;
    --rule:        rgba(143, 168, 154, 0.18);
    --rule-strong: rgba(143, 168, 154, 0.34);
  }
  a { color: var(--sage); }
}
