/* Minimal styles. Products replace this file. No inline styles anywhere: the
   Content-Security-Policy allows stylesheets from this site only. */
:root { --fg: #1d2330; --muted: #5b6475; --line: #d9dde5; --accent: #2457c5; --danger: #b42318; --bg: #ffffff; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--fg); background: var(--bg); }
.topbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
.topbar nav { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.brand { font-weight: 700; text-decoration: none; color: var(--fg); }
main { max-width: 56rem; margin: 0 auto; padding: 1.5rem 1rem 4rem; }
a { color: var(--accent); }
form.inline { display: inline; }
button { font: inherit; padding: .4rem .8rem; border: 1px solid var(--accent); background: var(--accent); color: #fff; border-radius: 6px; cursor: pointer; }
button.secondary { background: #fff; color: var(--accent); }
button.danger { background: #fff; color: var(--danger); border-color: var(--danger); }
button.link { background: none; border: none; color: var(--accent); padding: 0; text-decoration: underline; }
input, select { font: inherit; padding: .35rem .5rem; border: 1px solid var(--line); border-radius: 6px; }
table { border-collapse: collapse; width: 100%; margin: .5rem 0 1rem; }
th, td { text-align: left; padding: .4rem .5rem; border-bottom: 1px solid var(--line); }
.messages { list-style: none; padding: 0; }
.messages li { padding: .5rem .75rem; border-radius: 6px; background: #eef3ff; margin-bottom: .5rem; }
.messages li.error { background: #fdecea; }
.hint { color: var(--muted); font-size: .9rem; }
.notice { padding: .5rem .75rem; background: #fff7e0; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
a.button-link { display: inline-block; padding: .4rem .8rem; border: 1px solid var(--accent); border-radius: 6px; text-decoration: none; }

.site-footer { margin: 3rem auto 1rem; max-width: 60rem; padding: 0 1rem; font-size: .9rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.draft-banner { background: #fff7d6; border: 1px solid #e6cf6a; padding: .5rem .75rem; border-radius: 4px; }
.roadmap-scroll { overflow-x: auto; }
.roadmap td { vertical-align: top; min-width: 10rem; }
.roadmap-card { border: 1px solid var(--line); border-radius: 6px; padding: .4rem .5rem; margin-bottom: .4rem; }
.post-list { list-style: none; padding: 0; }
.post-card { border-bottom: 1px solid var(--line); padding: .5rem 0; display: flex; flex-wrap: wrap; gap: .5rem; align-items: baseline; }
.votes { min-width: 5rem; font-weight: 600; }
.avatar { display: inline-block; min-width: 1.6rem; text-align: center; border-radius: 50%; background: #eef3ff; font-size: .8rem; }
.board-nav { display: flex; gap: .75rem; }
textarea { font: inherit; width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: .35rem .5rem; }
.powered-by { margin: 2rem auto 1rem; max-width: 60rem; padding: 0 1rem; font-size: .8rem; color: #5b6475; }
.powered-by a { color: #5b6475; }
/* Brief 119: the public pricing page. */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; margin: 1rem 0; }
.plan { border: 1px solid var(--line); border-radius: 8px; padding: .75rem 1rem; }
.plan h2 { margin: 0 0 .25rem; }
.plan-price { font-size: 1.4rem; font-weight: 700; margin: 0; }
.plan-yearly { margin: 0; color: var(--muted); }
.plan-limits { margin: .75rem 0 0; }
.plan-limits div { display: flex; justify-content: space-between; gap: .5rem; border-top: 1px solid var(--line); padding: .3rem 0; }
.plan-limits dt { font-size: .9rem; }
.plan-limits dd { margin: 0; font-weight: 600; text-align: right; }

/* Brief 229: the waitlist code box fits a phone. */
#waitlist-confirm input[type=text] { width: 100%; max-width: 32rem; box-sizing: border-box; }
