/*
 * CP-D89 — the public demo request pages. A file, never inline styles: the page's Content
 * Security Policy allows only this site's own stylesheets (DEM-1).
 */

.demo { min-height: 100vh; display: grid; justify-items: center; padding: 32px 16px 48px; background: var(--paper); }
.demo__wrap { width: min(100%, 640px); display: grid; gap: 20px; }
.demo__brand img { height: 34px; width: auto; display: block; }
.demo__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 22px; display: grid; gap: 18px; }
.demo__title { font-size: 1.6rem; color: var(--navy); margin: 0; }
.demo__lead { color: var(--muted); margin: 0; }
.demo__form { display: grid; gap: 16px; }
.demo__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .demo__row { grid-template-columns: 1fr 1fr; } }
.demo__group { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.demo__group legend { font-weight: 600; color: var(--charcoal); margin-bottom: 6px; padding: 0; }
.demo__options { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.demo__options label, .demo__check { display: inline-flex; align-items: flex-start; gap: 8px; font-weight: 400; color: var(--charcoal); cursor: pointer; }
.demo__options input, .demo__check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue); }
.demo__error { color: var(--danger); font-size: 0.88rem; margin: 0; }
.demo__alert { background: var(--warning-bg); border: 1px solid var(--warning-line); color: var(--warning); border-radius: var(--radius-sm); padding: 12px 14px; }
.demo__ok { background: var(--success-bg); border: 1px solid var(--success-line); color: var(--success); border-radius: var(--radius-sm); padding: 12px 14px; }
.demo__submit { justify-self: start; }
.demo__foot { color: var(--muted); font-size: 0.85rem; text-align: center; }
.demo__foot a, .demo__card a { color: var(--blue); }

/* The honeypot: out of sight and out of reach for people, still in the DOM for bots. */
.demo__hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
