/* Demo-only additions for the static copy of the Business Data Platform at /demo
   (fictional data only). The pages keep the app's own app.css; this adds the demo bar,
   the notes demo.js shows, and the landing page. */

@font-face {
  font-family: "Metropolis";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Metropolis-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Metropolis";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/Metropolis-SemiBold.ttf") format("truetype");
}

.demo-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: #033C5F;
  color: #ffffff;
  font: 400 14px/1.4 "Metropolis", system-ui, sans-serif;
  text-align: center;
}
.demo-bar a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.demo-bar-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.demo-note {
  margin: 12px 0 0;
  padding: 12px 14px;
  border: 1px solid #dce8f2;
  border-left: 4px solid #1C85C7;
  background: #EDF5FB;
  color: #1a2b38;
  font: 400 15px/1.5 "Metropolis", system-ui, sans-serif;
}
.demo-note p { margin: 0 0 8px; }
.demo-note p:last-child { margin-bottom: 0; }
.demo-note ul { margin: 0; padding-left: 18px; }
.demo-note li { margin: 4px 0; }
.demo-note a { color: #044F7D; font-weight: 600; }

.demo-toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 1000;
  transform: translateX(-50%);
  max-width: min(92vw, 420px);
  padding: 12px 16px;
  border-radius: 10px;
  background: #1a2b38;
  color: #ffffff;
  font: 400 15px/1.4 "Metropolis", system-ui, sans-serif;
}

[hidden] { display: none !important; }

.demo-plan, .demo-followup { margin: 0 0 24px; }
.demo-followup .card { margin-bottom: 16px; }
.demo-followup .btn { margin: 0; }
.demo-followup table td .btn { white-space: nowrap; }
.demo-plan .plan-item { margin-top: 12px; }
.demo-plan .btn { margin-top: 8px; }

/* The landing page at /demo/ */
body.demo-landing {
  margin: 0;
  background: #f6f9fc;
  color: #3d4d59;
  font: 400 17px/1.6 "Metropolis", system-ui, sans-serif;
}
.demo-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: #ffffff;
  border-bottom: 3px solid #1C85C7;
}
.demo-logo img { display: block; width: auto; height: 40px; }
.demo-top-label {
  color: #044F7D;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.demo-main { max-width: 1040px; margin: 0 auto; padding: 40px 16px 56px; }
.demo-kicker {
  margin: 0 0 8px;
  color: #12659B;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.demo-main h1 {
  margin: 0 0 12px;
  color: #1a2b38;
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 600;
  line-height: 1.15;
}
.demo-lede { max-width: 720px; margin: 0 0 28px; font-size: 18px; }
.demo-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 640px) {
  .demo-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.demo-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid #dce8f2;
  border-radius: 14px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
}
.demo-card:hover, .demo-card:focus-visible { border-color: #1C85C7; outline: none; }
.demo-card-what {
  color: #12659B;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.demo-card-name { color: #044F7D; font-size: 22px; font-weight: 600; line-height: 1.25; }
.demo-card-q { color: #1a2b38; font-size: 17px; }
.demo-card-go { margin-top: auto; padding-top: 8px; color: #044F7D; font-weight: 600; }
.demo-small { margin: 20px 0 0; font-size: 15px; }
.demo-small a { color: #044F7D; font-weight: 600; }
