/* Schedule a demo page. Loads after styles.css, pages.css, services.css and mlap.css. */

.demo-hero { padding-bottom: clamp(48px, 7vw, 88px); }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.demo-copy { position: sticky; top: 104px; }
.demo-copy h1 { color: #fff; }

.demo-see { display: grid; gap: 10px; margin: 28px 0 0; }
.demo-see li { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; padding: 14px 16px; border-radius: var(--radius); background: rgb(255 255 255 / 5%); border: 1px solid rgb(135 209 214 / 20%); }
.demo-see .icon-badge { grid-row: span 2; background: rgb(135 209 214 / 14%); color: var(--aqua); box-shadow: none; }
.demo-see strong { font-family: var(--display); font-weight: 800; font-size: 1.04rem; color: #fff; align-self: end; }
.demo-see span:last-child { font-family: var(--ui); font-size: .86rem; line-height: 1.45; color: #a9c2d6; align-self: start; }

.demo-visual { margin: 6px 0 0; max-width: 430px; }
.demo-visual .anim { mask-image: radial-gradient(closest-side, #000 78%, transparent 100%); }

.demo-contact { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 4px 0 0; font-family: var(--ui); font-size: .88rem; color: #c9dbe8; }
.demo-contact li { display: inline-flex; align-items: center; gap: 8px; }
.demo-contact svg { width: 17px; height: 17px; color: var(--aqua); }
.demo-contact a { color: #fff; font-weight: 600; }

/* ---------- the form card ---------- */
.demo-card { position: relative; background: #fff; border-radius: 28px; box-shadow: 0 0 0 8px rgb(135 209 214 / 14%), 0 40px 80px -30px rgb(0 0 0 / 70%); overflow: hidden; color: var(--ink); scroll-margin-top: 110px; }
.demo-card-head { display: flex; align-items: center; gap: 16px; padding: 22px 26px; background: var(--mist); border-bottom: 1px solid var(--line); }
.demo-card-head h2 { margin: 0; font-size: 1.5rem; }
.demo-card-head p { margin: 2px 0 0; font-family: var(--ui); font-size: .84rem; color: var(--muted); }
.demo-frame { display: block; width: 100%; height: 1400px; border: 0; background: #fff; }
.demo-fallback { margin: 0; padding: 14px 26px 18px; border-top: 1px solid var(--line); font-family: var(--ui); font-size: .82rem; color: var(--muted); text-align: center; }

/* ---------- agenda builder ---------- */
.agenda { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg); font-family: var(--ui); overflow: hidden; }
.ag-in { padding: clamp(22px, 3vw, 34px); display: grid; gap: 12px; align-content: start; }
.ag-label { margin: 8px 0 0; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ag-label:first-child { margin-top: 0; }
.ag-in .seg { justify-self: start; }
.ag-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ag-topics button { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font: 600 .88rem var(--ui); color: var(--ink); text-align: left; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, transform .15s ease; }
.ag-topics button:hover { border-color: var(--teal); transform: translateY(-1px); }
.ag-topics button svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.ag-topics button[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-tint); color: var(--navy); box-shadow: inset 0 0 0 1px var(--teal); }
.ag-topics button[aria-pressed="true"] svg { color: var(--teal-ink); }

.ag-out { padding: clamp(22px, 3vw, 34px); background: var(--navy) url("/assets/img/map-lines.svg") 80% 30% / 420px; background-blend-mode: soft-light; color: #c9dbe8; display: flex; flex-direction: column; gap: 10px; }
.ag-out p { margin: 0; }
.ag-who { font: 800 1.25rem/1.3 var(--display); color: #fff; }
.ag-list { counter-reset: ag; display: grid; gap: 8px; margin: 6px 0 0; }
.ag-list li { counter-increment: ag; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; padding: 11px 14px; border-radius: 14px; background: rgb(255 255 255 / 8%); box-shadow: inset 0 0 0 1px rgb(135 209 214 / 22%); font-size: .86rem; line-height: 1.45; }
.ag-list li::before { content: counter(ag); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--navy); font: 800 .86rem var(--display); }
.ag-list a { display: block; color: #fff; font: 800 1rem var(--display); text-decoration: none; }
.ag-list a:hover { color: var(--aqua); text-decoration: underline; }
.ag-empty { padding: 16px; border-radius: 14px; border: 1px dashed rgb(135 209 214 / 40%); font-size: .88rem; }
.ag-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 14px; }
.ag-actions .btn { cursor: pointer; }
.ag-fine { font-size: .76rem; color: #92abc0; }

.prep { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: clamp(28px, 4vw, 44px); }

@media (max-width: 1100px) {
  .prep { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 940px) {
  .demo-grid, .agenda { grid-template-columns: minmax(0, 1fr); }
  .demo-copy { position: static; }
  .demo-visual { display: none; }
  .demo-contact { margin-top: 22px; }
}
@media (max-width: 620px) {
  .ag-topics, .prep { grid-template-columns: minmax(0, 1fr); }
  .demo-card { border-radius: 22px; margin-inline: -6px; }
  .demo-card-head { padding: 18px; }
  .demo-frame { height: 1560px; }
  .ag-in .seg { border-radius: 18px; }
}
.demo-copy h1 { font-size: clamp(2.2rem, 4vw, 3.3rem); }
