/* k12-demo.css
   Copyright © 2026 LexPro. All rights reserved.

   Carline's /demo (sites/k12/pages/demo/), from
   app/lib/web/site/sections/demo/demo_editorial.dart. */

/* The dashboard on a coral block, larger than its box and cut off. */
.demo-dash__block {
  position: absolute; left: 0; right: 0; top: calc(20cqh + 80px); bottom: 6cqh;
  background: var(--ed-coral); border-radius: 28px 0 0 0;
}
.demo-dash__picture { position: absolute; left: 44px; top: 20cqh; }
.demo-dash__picture img { max-width: none; width: max(1092px, 100cqw); height: auto; }
@media (max-width: 900px) {
  .demo-dash__block { left: calc(var(--ed-gutter) - 8px); top: 58px; bottom: 0; }
  .demo-dash__picture { left: calc(var(--ed-gutter) + 14px); top: 18px; }
  .demo-dash__picture img { width: max(384px, 100cqw); }
}

/* The form band. */
.demo-form { scroll-margin-top: 72px; }
.demo-form__title {
  margin-top: 24px; font-size: clamp(34px, 4vw, 60px); line-height: 1; font-weight: 800; letter-spacing: -0.045em; color: var(--ed-ink);
}
.demo-form__rule { margin: 32px 0 20px; }
@media (max-width: 900px) { .demo-form__rule { margin-top: 20px; } }

/* What the call is, and what happens after. */
.demo-entries { margin-top: 64px; }
.demo-next .edp-bars { margin-bottom: 28px; }
.demo-entries--last { border-bottom: 2px solid var(--ed-navy-deep); }
.demo-next__closer {
  margin-top: 48px; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.2; font-weight: 600; letter-spacing: -0.045em; color: var(--ed-navy-deep);
}
@media (max-width: 900px) {
  .demo-entries { margin-top: 40px; }
  .demo-next .edp-bars { margin-bottom: 20px; }
  .demo-next__closer { margin-top: 32px; }
}
