/* Shared look for the static pages (About, Examples, Privacy, Terms).
   Mirrors the app's tokens in src/index.css so they read as one site. */
:root {
  --bg: hsl(33 70% 95%);
  --ink: hsl(25 25% 15%);
  --muted: hsl(25 15% 45%);
  --card: hsl(36 100% 99%);
  --paper: hsl(36 90% 98% / 0.92);
  --accent-line: hsl(35 100% 85% / 0.6);
  --warm: hsl(25 95% 53%);
  --action: hsl(20 90% 42%);
  --action-hover: hsl(18 90% 36%);
  --bubble: hsl(30 100% 95%);
  --peach: hsl(20 100% 92%);
  --shadow: 0 24px 48px -28px hsl(18 45% 30% / 0.4), 0 1px 2px hsl(18 45% 30% / 0.08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: Outfit, ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 17px; line-height: 1.7;
}
a { color: var(--action); text-underline-offset: 3px; }
a:hover { color: var(--action-hover); }

/* top bar, same as the app */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--accent-line); }
.site-header .in { max-width: 1100px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 8px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.brand b { font-size: 18px; font-weight: 700; }
.brand span { font-size: 14px; color: var(--muted); }
.brand svg { color: var(--warm); }
.site-header nav { margin-left: auto; display: flex; gap: 18px; font-size: 14px; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--ink); }
@media (max-width: 520px) { .brand span { display: none; } .site-header nav { gap: 14px; } }

/* painted sea behind the title */
.sea { position: relative; padding: 56px 16px 0; }
.sea::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 300px; z-index: -1;
  background: url(/sea.webp) center 62% / cover no-repeat;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent);
}
.sea .paper { max-width: 720px; margin: 0 auto; padding: 28px 28px 24px; border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--action); }
h1 { margin: 0 0 12px; font-size: clamp(32px, 6vw, 46px); line-height: 1.08; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
.sea .paper > p:last-child { margin-bottom: 0; }
.lede { font-size: 18.5px; color: var(--muted); }

main { max-width: 720px; margin: 0 auto; padding: 8px 16px 0; }
h2 { margin: 44px 0 10px; font-size: 26px; line-height: 1.2; letter-spacing: -.01em; font-weight: 700; text-wrap: balance; }
h3 { margin: 28px 0 6px; font-size: 19px; }
p, ul { margin: 0 0 16px; }
li { margin-bottom: 6px; }
strong { font-weight: 600; }

/* About: the five friends */
.friends { display: grid; gap: 10px; margin: 14px 0 18px; padding: 0; list-style: none; }
.friends li { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 14px 16px; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); }
.friends .who { display: block; font-weight: 600; }
.friends .who small { font-weight: 400; color: var(--muted); font-size: 14px; }
.friends p { margin: 2px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

/* round friend avatar (initial), alternating the app's two tints */
.av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; color: var(--action); background: var(--bubble); border: 1px solid var(--accent-line); }
.av.p { background: var(--peach); }

/* Examples: each circle is a chat card */
.circle { margin: 22px 0 8px; background: var(--card); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; }
.circle h2 { margin: 0; padding: 16px 22px; font-size: 19px; border-bottom: 1px solid var(--accent-line); }
.chat { padding: 18px 16px 20px; display: grid; gap: 14px; }
.me { justify-self: end; max-width: 88%; margin: 0; background: var(--action); color: #fff; padding: 11px 16px; border-radius: 20px 20px 6px 20px; font-size: 15.5px; line-height: 1.5; }
.reply { display: flex; gap: 10px; align-items: flex-end; }
.reply > div { max-width: 88%; }
.reply .name { margin: 0 0 3px 4px; font-size: 13px; color: var(--muted); }
.reply .name b { color: var(--ink); font-weight: 600; }
.reply p.bubble { margin: 0; background: var(--bubble); padding: 11px 16px; border-radius: 20px 20px 20px 6px; font-size: 15.5px; line-height: 1.55; }

/* closing: try it */
.cta { margin: 48px 0 0; padding: 28px 24px; text-align: center; border-radius: 24px; background: linear-gradient(135deg, var(--bubble), var(--peach)); }
.cta h2 { margin: 0 0 8px; }
.cta + p { margin-top: 24px; }
.cta p { color: var(--muted); max-width: 480px; margin: 0 auto 18px; }
.btn { display: inline-block; background: var(--action); color: #fff !important; text-decoration: none; font-weight: 600; font-size: 17px; padding: 13px 30px; border-radius: 999px; transition: background-color .2s, transform .1s; }
.btn:hover { background: var(--action-hover); }
.btn:active { transform: scale(.98); }

/* Terms: the not-therapy box */
.notice { margin-top: 16px; padding: 16px 20px; border-radius: 18px; background: var(--card); border: 1px solid hsl(20 90% 42% / .35); }
.notice ul { margin-bottom: 0; }

.back { display: inline-block; margin-top: 36px; font-size: 15px; }

footer.site-footer { max-width: 720px; margin: 48px auto 0; padding: 22px 16px 48px; border-top: 1px solid var(--accent-line); font-size: 14px; color: var(--muted); }
nav.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
nav.footer-nav a { color: var(--muted); }
nav.footer-nav a:hover { color: var(--action); }
