body.demo { background: #eef1f6; padding-bottom: 170px; }
body.demo .site-header { position: static; }
@media (prefers-color-scheme: dark) { body.demo { background: #0f1115; } }
.demo-note { background: #14161b; color: #eef0f4; padding: 14px 0; }
.demo-note p { margin: 0 0 8px; font-size: 15px; }
.demo-note p:last-child { margin: 0; }
.demo-note .hint { color: #a2a8b5; font-size: 13px; margin-left: 6px; }

/* Tinyboard: a fictional app with deliberate flaws. Its colours ignore dark mode on purpose. */
.tb-app { max-width: 980px; margin: 24px auto; background: #fff; color: #1f2430; border-radius: 16px; overflow: hidden;
  box-shadow: 0 10px 40px rgba(20, 30, 60, .12); font-family: Georgia, "Times New Roman", serif; }
.tb-app h1, .tb-app h2, .tb-app h3 { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.promo { background: #ffd84d; color: #3a2e00; text-align: center; padding: 11px 16px; font: 600 15px system-ui, sans-serif; }
.tb-nav { display: flex; align-items: center; gap: 24px; padding: 16px 28px; border-bottom: 1px solid #eceef3; font-family: system-ui, sans-serif; }
.tb-logo { font-weight: 800; font-size: 20px; color: #3651d4; text-decoration: none; }
.tb-links { display: flex; gap: 20px; flex: 1; }
.tb-links a { color: #4a5160; text-decoration: none; font-size: 15px; }
.tb-login { font: 600 14px system-ui, sans-serif; background: #3651d4; color: #fff; border: 0; border-radius: 8px; padding: 9px 16px; cursor: pointer; }
.tb-hero { padding: 64px 28px 56px; text-align: center; background: linear-gradient(180deg, #f6f8ff, #fff); }
.hero-title { font-size: clamp(30px, 5vw, 48px); margin: 0 0 14px; letter-spacing: -.02em; color: #141a2b; }
.hero-sub { font-size: 19px; color: #59607a; margin: 0 auto 26px; max-width: 30em; }
.cta { font: 500 12px system-ui, sans-serif; background: #c9d2f5; color: #7c86ad; border: 0; border-radius: 6px; padding: 6px 10px; cursor: pointer; }
.tb-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 36px 28px; }
.feature { background: #f7f8fb; border-radius: 12px; padding: 18px; }
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: #59607a; font-size: 15px; }
.tb-pricing { padding: 30px 28px 18px; }
.pricing-title { text-align: center; font-size: 30px; margin: 0 0 22px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { border: 1px solid #e3e6ee; border-radius: 14px; padding: 20px; text-align: center; }
.plan.featured { border: 2px solid #3651d4; }
.plan h3 { margin: 0 0 4px; }
.price { font: 800 32px system-ui, sans-serif; margin: 0 0 6px; color: #141a2b; }
.price span { font-size: 14px; font-weight: 500; color: #59607a; }
.plan p { color: #59607a; font-size: 15px; }
.plan-btn { font: 600 14px system-ui, sans-serif; background: #fff; color: #3651d4; border: 1px solid #3651d4; border-radius: 8px; padding: 8px 14px; cursor: pointer; }
.templates { margin: 18px 28px 36px; padding: 22px; background: #f2f5ff; border-radius: 14px; }
.templates h2 { margin: 0 0 6px; font-size: 22px; }
.templates p { margin: 0; color: #59607a; }
.tb-footer { background: #141a2b; color: #aab1c5; padding: 22px 28px; font-family: system-ui, sans-serif; font-size: 14px; }
.footer-links { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 8px; }
.footer-links a { color: #dfe4f2; font-size: 13px; }
.tb-footer p { margin: 0; }

.your-brief { padding: 10px 0 40px; }
.your-brief h2 { margin: 10px 0 6px; }
.your-brief p { color: var(--muted); margin: 0 0 12px; }
.your-brief .row { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.your-brief pre { white-space: pre-wrap; word-break: break-word; }

@media (max-width: 640px) {
  .tb-app { margin: 12px; border-radius: 12px; }
  .tb-nav { gap: 12px; padding: 12px 16px; }
  .tb-links { display: none; }
  .tb-logo { flex: 1; }
  .tb-hero { padding: 40px 16px 36px; }
  .tb-features, .plans { grid-template-columns: minmax(0, 1fr); padding-left: 16px; padding-right: 16px; }
  .plans { padding: 0; }
  .tb-pricing { padding: 24px 16px 12px; }
  .templates { margin: 14px 16px 26px; }
  .tb-footer { padding: 18px 16px; }
}
