/* Stray — shared styles for the legal pages
   Palette and type mirror the Stray app. */

:root {
  --bg:        #FBF8F4;
  --white:     #FFFFFF;
  --peach:     #E8724A;
  --peach-lt:  #FCEEE8;
  --sage:      #6A9E7F;
  --border:    #E0D8CE;
  --text:      #3A2E26;
  --text-mid:  #6B5E54;
  --text-soft: #7E6E64;
  --radius:    16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  padding: 1.5rem;
}

.wrap { max-width: 680px; margin: 0 auto; }

/* ── Header ── */
.site-header {
  text-align: center;
  padding: 1.5rem 0 2rem;
}
.site-header img {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(232, 114, 74, 0.22);
}
.site-header h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  margin-top: 0.9rem;
  color: var(--text);
}
.site-header .tagline {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

/* ── Page title ── */
.page-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.intro {
  color: var(--text-mid);
  margin-bottom: 1.5rem;
}

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin-bottom: 1rem;
}
.card h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--peach);
  margin-bottom: 0.5rem;
}
.card p { margin-bottom: 0.6rem; }
.card p:last-child { margin-bottom: 0; }

a { color: var(--peach); }

.updated {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin: 1rem 0 0.5rem;
}

/* ── Nav links between pages ── */
.page-nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.75rem 0 0.5rem;
}
.page-nav a {
  flex: 1 1 auto;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--peach);
  color: var(--peach);
  background: var(--white);
  transition: background 0.15s, color 0.15s;
}
.page-nav a:hover { background: var(--peach-lt); }
.page-nav a.primary { background: var(--peach); color: var(--white); }
.page-nav a.primary:hover { background: #d8643d; }

/* ── Home page link list ── */
.doc-links { list-style: none; margin-top: 1.25rem; }
.doc-links li { margin-bottom: 0.85rem; }
.doc-links a {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s;
}
.doc-links a:hover { border-color: var(--peach); }
.doc-links strong {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.1rem;
  color: var(--peach);
}
.doc-links span {
  display: block;
  color: var(--text-soft);
  font-size: 0.92rem;
  margin-top: 0.15rem;
}

/* ── Footer ── */
.site-footer {
  text-align: center;
  color: var(--text-soft);
  font-size: 0.85rem;
  padding: 2rem 0 1rem;
}
