/* SC-525: Book a demo. A plain Calendly-style booking box, locked design from
   2026-11-02 (book-demo-mock). Colours are the site's teal and greys. */
.dm-page {
  --dm-ink: #0a1a22; --dm-body: #0d1b2a; --dm-text: #4f616d; --dm-muted: #62707c;
  --dm-line: #e6ebef; --dm-line-2: #d5dde3;
  --dm-teal: #007a76; --dm-teal-hover: #00605d; --dm-tint: #e8f4f3;
  background: #fbfcfd;
}
.dm-page [hidden] { display: none !important; }

.dm-head { text-align: center; padding: 56px 16px 32px; }
.dm-head h1 { margin: 0; font-size: 40px; font-weight: 600; letter-spacing: -.03em; color: var(--dm-ink); }
.dm-head p { margin: 10px 0 0; font-size: 17px; color: var(--dm-text); }

.dm-box { max-width: 900px; margin: 0 auto 80px; background: #fff; border: 1px solid var(--dm-line); border-radius: 8px;
  box-shadow: 0 1px 8px rgba(13,27,42,.06); display: grid; grid-template-columns: 280px 1fr; min-height: 480px; color: var(--dm-body); }
.dm-box button, .dm-box input, .dm-box select, .dm-box textarea { font: inherit; color: inherit; }
.dm-box :focus-visible { outline: 2px solid var(--dm-ink); outline-offset: 2px; }
.dm-box h3:focus { outline: none; }

.dm-info { padding: 28px 24px; border-right: 1px solid var(--dm-line); }
.dm-who { margin: 0 0 4px; font-size: 15px; color: var(--dm-muted); }
.dm-info h2 { margin: 0 0 20px; font-size: 24px; font-weight: 700; color: var(--dm-body); }
.dm-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 15px; font-weight: 500; color: var(--dm-muted); }
.dm-facts li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; line-height: 1.4; }
.dm-facts svg { width: 18px; height: 18px; margin-top: 1px; }
.dm-facts .dm-when { color: var(--dm-body); }

.dm-main { padding: 28px; min-width: 0; }
.dm-main h3 { margin: 0 0 22px; font-size: 19px; font-weight: 700; color: var(--dm-body); }
.dm-status:empty { display: none; }
.dm-status { margin: -10px 0 18px; font-size: 15px; color: var(--dm-text); line-height: 1.5; }
.dm-status a { color: var(--dm-teal); font-weight: 600; }

.dm-pick { display: grid; grid-template-columns: 1fr; gap: 24px; }
.dm-pick.has-day { grid-template-columns: 1fr 170px; }
.dm-cal { max-width: 380px; margin: 0 auto; width: 100%; }
.dm-cal-head { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 14px; font-size: 15px; }
.dm-nav { width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--dm-teal); cursor: pointer; display: grid; place-items: center; }
.dm-nav:hover { background: var(--dm-tint); }
.dm-nav:disabled { color: #c3ccd3; background: none; cursor: default; }
.dm-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 6px; text-align: center; }
.dm-dow { font-size: 12px; color: var(--dm-body); padding: 4px 0 8px; }
.dm-day { width: 42px; height: 42px; margin: 0 auto; padding: 0; border: 0; border-radius: 50%; background: none; font-size: 15px; color: var(--dm-muted); cursor: default; }
.dm-day.open { background: var(--dm-tint); color: var(--dm-teal); font-weight: 700; cursor: pointer; }
.dm-day.open:hover { background: #d5ebe9; }
.dm-day[aria-pressed="true"] { background: var(--dm-teal); color: #fff; }
.dm-tz { margin: 26px 0 0; font-size: 14px; }
.dm-tz label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.dm-tz select { max-width: 340px; height: 40px; border-color: transparent; padding-left: 4px; color: var(--dm-text); background-position: right 10px center; cursor: pointer; }
.dm-tz select:hover { border-color: var(--dm-line-2); }

.dm-times p { margin: 6px 0 16px; font-size: 15px; scroll-margin-top: 84px; } /* clear the sticky site header */
.dm-list { display: grid; gap: 10px; max-height: 360px; overflow: auto; padding: 1px; }
.dm-slot { height: 50px; border: 1px solid #99cfcc; border-radius: 6px; background: #fff; color: var(--dm-teal) !important; font-weight: 700; font-size: 15px; cursor: pointer; }
.dm-slot:hover { border: 2px solid var(--dm-teal); }

.dm-back { width: 40px; height: 40px; margin: -6px 0 14px -6px; border: 1px solid var(--dm-line); border-radius: 50%; background: #fff; color: var(--dm-teal) !important; cursor: pointer; display: grid; place-items: center; }
.dm-field { margin-bottom: 18px; max-width: 460px; }
.dm-field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.dm-opt { font-weight: 400; color: var(--dm-muted); }
.dm-box input, .dm-box select, .dm-box textarea { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--dm-line-2); border-radius: 6px; background: #fff; }
.dm-box select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%234f616d' stroke-width='1.8'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.dm-box textarea { height: 84px; padding: 10px 12px; resize: vertical; }
.dm-box input:focus, .dm-box select:focus, .dm-box textarea:focus { outline: none; border-color: var(--dm-teal); box-shadow: 0 0 0 1px var(--dm-teal); }
.dm-box [aria-invalid="true"] { border-color: #b42318; }
.dm-err { margin: 6px 0 0; font-size: 13px; color: #b42318; }
.dm-err:empty { display: none; }
.dm-form-err { margin: 0 0 12px; font-size: 14px; max-width: 460px; line-height: 1.5; }
.dm-form-err a { color: inherit; }
.dm-btn { margin-top: 6px; height: 46px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--dm-teal); color: #fff !important; font-weight: 600; cursor: pointer; }
.dm-btn:hover { background: var(--dm-teal-hover); }
.dm-btn:disabled { opacity: .6; cursor: default; }

.dm-done { text-align: center; padding: 56px 16px; }
.dm-done h3 { margin: 0 0 10px; }
.dm-done p { margin: 0 auto 6px; max-width: 380px; line-height: 1.55; color: var(--dm-text); }

.dm-note { text-align: center; font-size: 12px; color: var(--dm-muted); margin: -56px 0 40px; }

@media (max-width: 860px) {
  .dm-head { padding: 32px 16px 20px; }
  .dm-head h1 { font-size: 30px; }
  .dm-head p { font-size: 15px; }
  .dm-box { margin: 0 12px 64px; grid-template-columns: 1fr; min-height: 0; }
  .dm-info { border-right: 0; border-bottom: 1px solid var(--dm-line); padding: 20px 18px; }
  .dm-info h2 { margin-bottom: 14px; font-size: 21px; }
  .dm-main { padding: 22px 14px; }
  .dm-pick.has-day { grid-template-columns: 1fr; }
  .dm-day { width: 40px; height: 40px; }
  .dm-list { grid-template-columns: repeat(2, 1fr); max-height: none; }
  .dm-note { margin-top: -48px; padding: 0 16px; }
  .dm-box { scroll-margin-top: 76px; }  /* clear the sticky site header when a step scrolls back up */
  .dm-nav, .dm-back { width: 44px; height: 44px; }  /* thumb-sized month arrows and back button */
  .dm-back { margin: -8px 0 12px -8px; }
}
