/* Book a Demo (ADR-0086) — templates/demo.html. The pitch sits on the brand
   navy band like the home page's hero; the form is a white card over it. */
.demo-wrap { background: linear-gradient(160deg, #0c64ae 0%, #16324e 62%, #10243a 100%); padding: 64px 0 80px; }
.demo-grid { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 48px; align-items: start; }
.demo-pitch { color: #e6f0fa; padding-top: 10px; }
.demo-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.14; font-weight: 800; color: #fff; letter-spacing: -.02em; margin: 0; }
.demo-lede { font-size: 1.08rem; line-height: 1.62; color: #cfe0f2; margin: 16px 0 0; max-width: 520px; }
.demo-h { font-size: 1rem; font-weight: 700; color: #fff; margin: 30px 0 12px; }
.demo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.demo-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; line-height: 1.5; color: #d7e6f5; }
.demo-list li strong { color: #fff; }
.demo-list i { color: #8cc2f0; font-size: 1.15rem; margin-top: 2px; width: 22px; flex: none; text-align: center; }
.demo-note { margin: 28px 0 0; font-size: .92rem; color: #b8d3ec; display: flex; gap: 8px; align-items: center; }
.demo-note i { color: #7fe3d6; }

.demo-card { background: var(--card, #fff); border-radius: 18px; padding: 30px; box-shadow: 0 20px 50px rgba(5, 20, 40, .35); }
.demo-card-title { font-size: 1.3rem; font-weight: 800; color: var(--navy-900); margin: 0 0 18px; }
.demo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.demo-form .field { margin-bottom: 14px; }
.demo-form .req { color: var(--danger); }
.demo-form .field.is-bad input { border-color: var(--danger); }
.demo-form select { width: 100%; }
.demo-interests { border: 0; margin: 2px 0 14px; padding: 0; }
.demo-interests legend { font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; padding: 0; }
.demo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-chip { position: relative; cursor: pointer; }
.demo-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.demo-chip span { display: inline-block; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); font-size: .86rem;
  color: var(--ink); background: var(--bg); transition: background .12s, border-color .12s, color .12s; }
.demo-chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.demo-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.demo-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.demo-submit { width: 100%; justify-content: center; padding: 13px 18px; font-size: 1rem; display: inline-flex; gap: 8px; align-items: center; }
.demo-privacy { font-size: .8rem; margin: 12px 0 0; text-align: center; }

.demo-thanks { text-align: center; padding: 20px 6px; }
.demo-thanks-ico { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center;
  background: #e5f6ee; color: #1e8e5a; }
.demo-thanks h2 { font-size: 1.3rem; color: var(--navy-900); margin: 0 0 10px; }
.demo-thanks p { color: var(--muted); margin: 0 0 20px; }

[data-theme="dark"] .demo-card { background: #16202b; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
[data-theme="dark"] .demo-card-title, [data-theme="dark"] .demo-thanks h2 { color: #e8eef5; }
[data-theme="dark"] .demo-chip span { background: #1c2836; border-color: #2c3a4a; color: #d5dee8; }
[data-theme="dark"] .demo-thanks-ico { background: rgba(30, 142, 90, .18); color: #6fd3a0; }

@media (max-width: 860px) {
  .demo-wrap { padding: 36px 0 48px; }
  .demo-grid { grid-template-columns: 1fr; gap: 28px; }
  .demo-pitch { padding-top: 0; }
}
@media (max-width: 520px) {
  .demo-row { grid-template-columns: 1fr; }
  .demo-card { padding: 22px 18px; border-radius: 14px; }
}
