/* Shared styles for the static pages (guides, share-your-story). The app itself
   styles inline; these pages are plain HTML so crawlers and link previews get
   real content. Palette matches the app: slate text, #2563eb blue, #f8fafc page. */
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: #1e293b; line-height: 1.7; background: #f8fafc; }
a { color: #2563eb; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px 60px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; border-bottom: 1px solid #e2e8f0; margin-bottom: 28px; }
.top .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #0f172a; }
.top .brand img { width: 34px; height: 34px; border-radius: 8px; }
.top .brand span { font-weight: 900; font-size: 22px; letter-spacing: -0.3px; }
.top .open { background: #2563eb; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 10px; white-space: nowrap; }

h1 { font-size: 32px; line-height: 1.2; color: #0f172a; margin: 0 0 10px; letter-spacing: -0.3px; }
.lede { font-size: 18px; color: #475569; margin: 0 0 28px; }
h2 { font-size: 22px; color: #0f172a; margin: 36px 0 10px; }
h3 { font-size: 17px; color: #1e40af; margin: 24px 0 6px; }
p { margin: 12px 0; }
ul, ol { padding-left: 24px; }
li { margin: 6px 0; }
.callout { background: #fef3c7; border-left: 4px solid #f59e0b; padding: 14px 18px; border-radius: 8px; margin: 22px 0; }
.callout.blue { background: #dbeafe; border-color: #2563eb; }
.callout.green { background: #dcfce7; border-color: #16a34a; }

.cta { background: #0f172a; color: #e2e8f0; border-radius: 16px; padding: 26px 26px 22px; margin: 36px 0; }
.cta h2 { color: #fff; margin: 0 0 6px; font-size: 22px; }
.cta p { color: #cbd5e1; margin: 0 0 16px; }
.cta a.btn { display: inline-block; background: #2563eb; color: #fff; text-decoration: none; font-weight: 700; padding: 12px 20px; border-radius: 10px; }
.cta small { display: block; color: #94a3b8; margin-top: 12px; font-size: 13px; }

.related { border-top: 1px solid #e2e8f0; margin-top: 40px; padding-top: 22px; }
.related h2 { margin-top: 0; font-size: 18px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.related a { text-decoration: none; font-weight: 600; }

.faq details { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 16px; margin: 10px 0; }
.faq summary { font-weight: 700; cursor: pointer; color: #0f172a; }
.faq p { margin: 10px 0 4px; color: #334155; }

footer { border-top: 1px solid #e2e8f0; margin-top: 40px; padding-top: 18px; font-size: 12px; color: #94a3b8; }
footer a { color: #64748b; text-decoration: none; margin-right: 14px; }
footer .fcra { color: #94a3b8; margin-top: 10px; line-height: 1.5; }

@media (max-width: 480px) {
  h1 { font-size: 26px; }
  .top .brand span { font-size: 19px; }
  .top .open { font-size: 13px; padding: 9px 12px; }
}
