/* Shared across every page on ponderpro.app (static site, no templating - each page links this
   directly and repeats the same <nav> markup, kept visually in sync with the app's own
   static/style.css by hand since the two sites are separate deployments). */
:root {
  color-scheme: dark;
  --bg: #16171a;
  --text: #e8e8ea;
  --muted: #9a9ba0;
  --border: #34363b;
  --accent: #E0A83A;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #666666;
  --border: #d7d7db;
  --accent: #B8860B;
}
* { box-sizing: border-box; }
html, body { background: var(--bg); }
body {
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  margin: 0;
  line-height: 1.65;
  color: var(--text);
}
h1 { margin-bottom: 0.25rem; }
p.tagline, p.updated { color: var(--muted); margin-top: 0; }
h2 { margin-top: 2rem; }
a { color: var(--accent); }
/* nav itself spans the full page (so its border-bottom reaches both edges), and .nav-inner
   deliberately carries no max-width either (unlike .page below) - a nav bar isn't prose, it
   doesn't benefit from a narrow reading column the way paragraph text does, and constraining it
   that tightly is exactly what caused it to wrap once there were enough items. */
nav { border-bottom: 1px solid var(--border); }
.nav-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1rem 1.5rem;
}
.page {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
nav a { color: inherit; text-decoration: none; font-weight: 600; }
nav a:hover { color: var(--accent); }
nav .spacer { flex: 1; }
nav .nav-left { display: flex; align-items: center; gap: 1.25rem; }
nav .nav-right { display: flex; align-items: center; gap: 1rem; }
#theme-toggle {
  background: none; border: 1px solid var(--border); border-radius: 6px;
  width: 2rem; height: 2rem; padding: 0; font-size: 1rem; line-height: 1;
  cursor: pointer; color: inherit;
}
.invite-icon { position: relative; display: inline-flex; width: 2.25rem; height: 2.25rem; border-radius: 50%; flex-shrink: 0; }
.invite-icon img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.invite-icon .plus-badge {
  position: absolute; top: -3px; right: -3px;
  width: 1.2rem; height: 1.2rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  font-size: 0.85rem; font-weight: 800; line-height: 1;
  border: 2px solid var(--bg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Content added 2026-09-03 for Home/About/Documentation (PLAN.md backlog item). Kept minimal and
   shared across pages rather than page-specific styles, matching this file's existing pattern. */
.page-wide { max-width: 900px; }
.button {
  display: inline-block; padding: 0.65rem 1.25rem; border-radius: 6px;
  background: var(--accent); color: #16171a; font-weight: 700; text-decoration: none;
}
:root[data-theme="light"] .button { color: #fff; }
.button.secondary {
  background: none; border: 1px solid var(--border); color: var(--text);
}
.button-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1.5rem 0; }
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; margin: 2rem 0;
}
.feature { padding: 1.25rem; border: 1px solid var(--border); border-radius: 8px; }
.feature .icon { font-size: 1.75rem; }
.feature h3 { margin: 0.5rem 0 0.25rem; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }
/* Stands in for a real screenshot until Chris captures one from a live walkthrough - deliberately
   obvious (dashed border, explicit caption) so it's easy to find and swap for a real <img>,
   rather than leaving blank space or silently shipping a placeholder that looks finished. */
.screenshot-placeholder {
  border: 2px dashed var(--border); border-radius: 8px; padding: 3rem 1.5rem;
  text-align: center; color: var(--muted); margin: 1.5rem 0;
}
/* Dark-theme-only screenshots (site/screenshots/) - the site's light/dark toggle can't flip a
   static image, so these are captured once against the dark palette and shown as-is regardless of
   the visitor's theme choice, framed with a border so they read intentionally on a light page
   rather than looking like a mismatched leftover. */
.screenshot {
  display: block; max-width: 100%; border: 1px solid var(--border); border-radius: 8px;
  margin: 1.5rem 0;
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem; margin: 1.5rem 0;
}
.pricing-tier { padding: 1.5rem; border: 1px solid var(--border); border-radius: 8px; }
.pricing-tier.pro { border-color: var(--accent); }
.pricing-tier h3 { margin-top: 0; }
.pricing-tier .price { font-size: 1.75rem; font-weight: 700; margin: 0.25rem 0 1rem; }
.pricing-tier .price span { font-size: 0.9rem; font-weight: 400; color: var(--muted); }
.pricing-tier ul { margin: 0; padding-left: 1.25rem; }
.cmd-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.cmd-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.cmd-list li:last-child { border-bottom: none; }
.cmd-list code { color: var(--accent); font-weight: 600; }
.pro-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700; padding: 0.1rem 0.4rem;
  border-radius: 4px; background: var(--accent); color: #16171a; margin-left: 0.4rem;
  vertical-align: middle;
}
:root[data-theme="light"] .pro-badge { color: #fff; }
