/* Exposio "Book a demo" page and widget (demo-widget.js). Orange fills carry dark text: white on
   #f1921d is too pale to read. */
.db-page { background: #fff; color: #1a1a1a; font-family: "Open Sans", system-ui, sans-serif; }
/* The site paints every p white and every p strong yellow (resources/sass/_typography.scss): here they
   keep the page's dark text. :where() keeps this weak, so the classes below (.db-hint, .db-err...) win. */
.db-page :where(p, p strong) { color: inherit; }
.db-main { max-width: 1240px; margin: 0 auto; padding: 48px 5% 64px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; box-sizing: border-box; }
.db-main *, .db-main *::before, .db-main *::after { box-sizing: border-box; }
.db-intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.db-eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a35a00; }
.db-intro h1 { margin: 0; font-family: Montserrat, sans-serif; font-size: 40px; line-height: 1.15; font-weight: 700; color: #1a1a1a; }
.db-lede { margin: 0; font-size: 17px; line-height: 1.6; color: #3d3d3d; }
.db-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.db-facts li { display: flex; gap: 12px; align-items: center; }
.db-fact-icon { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 999px; background: #fff5e6; color: #a35a00; display: inline-flex; align-items: center; justify-content: center; }
.db-fact-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.db-program { border-top: 1px solid #e6e6e6; padding-top: 22px; }
.db-program h2 { margin: 0 0 10px; font-family: Montserrat, sans-serif; font-size: 18px; }
.db-program ol { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.6; color: #3d3d3d; }
.db-help { margin: 0; font-size: 14px; color: #5c5c5c; }
.db-help a, .db-link { color: #a35a00; }

.db-card { flex: 999 1 560px; min-width: 0; border: 1px solid #e6e6e6; border-radius: 16px; box-shadow: 0 12px 32px -16px rgba(0, 0, 0, .18); padding: 28px; background: #fff; }
#demo-booking { display: flex; flex-direction: column; gap: 22px; }
#demo-booking button, #demo-booking input, #demo-booking select, #demo-booking textarea { font-family: inherit; }
#demo-booking :focus-visible { outline: 3px solid #a35a00; outline-offset: 2px; }
.db-step { display: flex; flex-direction: column; gap: 20px; }
.db-step h2 { margin: 0; font-family: Montserrat, sans-serif; font-size: 20px; font-weight: 700; }
.db-step h3 { margin: 0; font-size: 16px; font-weight: 700; }

.db-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; font-weight: 600; color: #5c5c5c; }
.db-steps li { display: flex; align-items: center; gap: 8px; }
.db-steps li.is-current, .db-steps li.is-done { color: #1a1a1a; }
.db-steps li.is-current { font-weight: 700; }
.db-step-dot { width: 28px; height: 28px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; border: 2px solid #8c8c8c; background: #fff; color: #5c5c5c; }
.db-steps .is-current .db-step-dot { background: #1a1a1a; border-color: #1a1a1a; color: #fff; }
.db-steps .is-done .db-step-dot { background: #f1921d; border-color: #f1921d; color: #1a1a1a; }

.db-row { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-start; }
.db-row > * { flex: 1 1 220px; min-width: 0; }
.db-field { display: flex; flex-direction: column; gap: 6px; }
.db-field label, .db-choice legend { font-size: 14px; font-weight: 600; color: #1a1a1a; }
.db-field input, .db-field select, .db-field textarea { min-height: 44px; padding: 10px 12px; border: 1px solid #8c8c8c; border-radius: 10px; font-size: 15px; color: #1a1a1a; background: #fff; width: 100%; }
.db-field textarea { resize: vertical; line-height: 1.5; }
.db-field .is-invalid { border-color: #b3261e; }
.db-req, .db-err { color: #b3261e; }
.db-err { margin: 0; font-size: 13px; }
.db-choice { margin: 0; padding: 0; border: 0; }
.db-choice legend { padding: 0; margin-bottom: 8px; }
.db-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.db-chip { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid #8c8c8c; background: #fff; color: #1a1a1a; font-weight: 600; font-size: 14px; cursor: pointer; }
.db-chip.is-on { border-color: #f1921d; background: #fff5e6; }
.db-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.db-pick { display: flex; flex-wrap: wrap; gap: 28px; }
.db-cal { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.db-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.db-cal-title { margin: 0; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 16px; }
.db-nav { width: 44px; height: 44px; border-radius: 10px; border: 1px solid #8c8c8c; background: #fff; color: #1a1a1a; font-size: 24px; line-height: 1; cursor: pointer; }
.db-nav:disabled { color: #b5b5b5; border-color: #d0d0d0; cursor: default; }
.db-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.db-weekdays { font-size: 12px; font-weight: 700; color: #5c5c5c; text-align: center; }
.db-day { height: 44px; width: 100%; padding: 0; border-radius: 10px; border: 2px solid transparent; background: transparent; color: #767676; font-size: 14px; }
.db-day.is-free { background: #fff5e6; border-color: #fff5e6; color: #1a1a1a; font-weight: 700; cursor: pointer; }
.db-day.is-on { background: #f1921d; border-color: #f1921d; color: #1a1a1a; }
.db-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12px; color: #5c5c5c; }
.db-legend span { display: inline-flex; align-items: center; gap: 6px; }
.db-swatch { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.db-swatch.is-free { background: #fff5e6; border: 1px solid #e0c9a6; }
.db-swatch.is-on { background: #f1921d; }
.db-slots { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.db-slot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.db-slot { min-height: 44px; padding: 8px; border-radius: 10px; border: 2px solid #8c8c8c; background: #fff; color: #1a1a1a; font-weight: 700; font-size: 14px; cursor: pointer; }
.db-slot.is-on { background: #f1921d; border-color: #f1921d; }
.db-hint { margin: 0; font-size: 13px; line-height: 1.5; color: #5c5c5c; }

.db-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px 20px; border-radius: 12px; background: #fff5e6; }
.db-summary p { margin: 0; font-size: 15px; line-height: 1.5; }
.db-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.db-btn { min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 2px solid #f1921d; background: #f1921d; color: #1a1a1a; font-weight: 700; font-size: 15px; cursor: pointer; }
.db-btn:hover { background: #d97a08; border-color: #d97a08; }
.db-btn:disabled { opacity: .6; cursor: default; }
.db-btn--ghost { background: #fff; border-color: #1a1a1a; }
.db-btn--ghost:hover { background: #f5f5f5; border-color: #1a1a1a; }
.db-link { min-height: 44px; padding: 0 4px; border: 0; background: none; font-weight: 700; font-size: 14px; text-decoration: underline; cursor: pointer; }
.db-submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; border-top: 1px solid #e6e6e6; padding-top: 20px; }
.db-submit .db-hint { flex: 1 1 260px; }

.db-notice { margin: 0; padding: 12px 16px; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.db-notice.is-error { background: #fdecea; color: #8c1d18; }
.db-notice.is-ok { background: #e7f4ea; color: #145c2b; }
.db-done-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.db-check { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 999px; background: #f1921d; color: #1a1a1a; display: inline-flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; }
.db-status { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #eee; color: #555; font-size: 13px; font-weight: 600; }
.db-status.is-on { background: #e7f4ea; color: #145c2b; }
.db-facts-box { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 12px; background: #fff5e6; font-size: 15px; line-height: 1.5; }
.db-facts-box p { margin: 0; }
.db-confirm { padding: 16px 20px; border-radius: 12px; background: #fdecea; display: flex; flex-direction: column; gap: 12px; }
.db-confirm p { margin: 0; }

@media (max-width: 600px) {
    .db-main { padding: 32px 5% 48px; gap: 32px; }
    .db-intro h1 { font-size: 30px; }
    .db-card { padding: 20px 16px; }
}
