/* PennyStock.Ninja — shared static-page styling (dark theme to match app) */
:root {
  --bg: hsl(222 47% 6%);
  --card: hsl(222 47% 8%);
  --fg: hsl(210 40% 96%);
  --muted: hsl(215 20% 60%);
  --primary: hsl(142 76% 45%);
  --primary-glow: hsl(142 90% 55%);
  --accent: hsl(199 89% 55%);
  --border: hsl(217 33% 16%);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--primary-glow); text-decoration: none; }
a:hover { text-decoration: underline; }
header.site {
  border-bottom: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 10;
}
header.site .wrap {
  max-width: 880px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
header.site .brand { font-weight: 700; color: var(--fg); display: flex; align-items: center; gap: 8px; }
header.site nav a { color: var(--muted); margin-left: 16px; font-size: 14px; }
header.site nav a:hover { color: var(--fg); text-decoration: none; }
main.wrap { max-width: 880px; margin: 0 auto; padding: 32px 20px 64px; }
h1 { font-size: 2.25rem; line-height: 1.15; margin: 0 0 8px; letter-spacing: -0.02em; }
h2 { font-size: 1.4rem; margin: 32px 0 8px; letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; margin: 20px 0 6px; }
p, li { color: hsl(210 30% 85%); }
.lede { color: var(--muted); font-size: 1.05rem; margin: 0 0 24px; }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 24px; margin: 16px 0;
}
.term { display: flex; flex-direction: column; gap: 4px; padding: 14px 0;
  border-bottom: 1px solid var(--border); }
.term:last-child { border-bottom: 0; }
.term .name { font-weight: 700; color: var(--primary-glow); font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.term .alias { color: var(--muted); font-size: 0.85rem; margin-left: 8px; }
.icon-row { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.icon-row:last-child { border-bottom: 0; }
.icon-row .emoji { font-size: 2rem; line-height: 1; min-width: 44px; text-align: center; }
.icon-row .body strong { color: var(--fg); }
.icon-row .body .meta { color: var(--muted); font-size: 0.85rem; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.75rem;
  background: hsl(217 33% 12%); color: var(--muted); border: 1px solid var(--border); margin-right: 6px; }
.tag.bull { color: var(--primary-glow); border-color: hsl(142 76% 25%); }
.tag.bear { color: hsl(0 80% 65%); border-color: hsl(0 60% 30%); }
ul.posts { list-style: none; padding: 0; margin: 0; }
ul.posts li { padding: 18px 0; border-bottom: 1px solid var(--border); }
ul.posts li:last-child { border-bottom: 0; }
ul.posts a.title { font-size: 1.15rem; font-weight: 600; color: var(--fg); }
ul.posts .excerpt { color: var(--muted); margin: 4px 0 0; }
footer.site {
  border-top: 1px solid var(--border); margin-top: 48px;
  padding: 28px 20px; text-align: center; color: var(--muted); font-size: 0.85rem;
}
footer.site a { color: var(--muted); margin: 0 8px; }
.disclaimer { font-style: italic; opacity: 0.7; font-size: 0.8rem; }
.cta {
  display: inline-block; background: var(--primary); color: hsl(222 47% 6%);
  padding: 10px 18px; border-radius: 8px; font-weight: 600; margin-top: 16px;
}
.cta:hover { background: var(--primary-glow); text-decoration: none; }
