/* Demo Calls: the booking page (/book-a-demo, a white card like the site's other forms) and Admin → Demo Calls. */
.bd-hero { max-width: 860px; }
.bd-card { background: #fff; color: #0B1538; --ink: #0B1538; --muted: #4A5683; --line: #C6CEE8; border-radius: 22px; padding: 28px; border: 1px solid #E1E6F5; max-width: 760px; margin: 0 auto; display: grid; gap: 18px; }
.bd-card h2 { margin: 0; font-size: 1.35rem; letter-spacing: -.02em; font-weight: 800; color: #0B1538; }
.bd-card a:not(.btn) { color: #C2186B; }
.bd-card label, .bd-field { display: grid; gap: 6px; font-weight: 600; border: 0; padding: 0; margin: 0; min-width: 0; }
.bd-field legend, .bd-slots legend { font-weight: 600; padding: 0; margin-bottom: 8px; }
.bd-card input:not([type=radio]), .bd-card select, .bd-card textarea { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #C6CEE8; background: #fff; color: #0B1538; width: 100%; box-sizing: border-box; }
.bd-card :is(input, select, textarea, button, a):focus-visible, .bd-card input[type=radio]:focus-visible + span { outline: 3px solid #2D4AA6; outline-offset: 2px; }
.bd-form, .bd-step { display: grid; gap: 18px; }
.bd-hint { font-size: .9rem; color: #4A5683; font-weight: 400; margin: 0; }
.bd-err { margin: 0; padding: 12px 16px; border-radius: 12px; background: #FBE7E4; color: #7A2620; font-weight: 600; }
.bd-hp { position: absolute; left: -9999px; }
.bd-steps { list-style: none; padding: 0; margin: 0; display: none; gap: 8px; flex-wrap: wrap; }
.bd-steps li { padding: 8px 14px; border-radius: 999px; border: 1.5px solid #D5DBEE; font-weight: 700; font-size: .92rem; color: #4A5683; }
.bd-steps li.on { background: #0B1538; color: #fff; border-color: #0B1538; }
.bd-steps li.done { border-color: #0E8F86; color: #0B6E67; }
.bd-steps li.done span { display: none; } .bd-steps li.done::before { content: "✓ "; }
.bd-js .bd-steps { display: flex; } .bd-js .bd-step:not(.on) { display: none; }
.bd-card [data-hide] { display: none; }
.bd-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bd-choice label { display: block; cursor: pointer; }
.bd-choice input, .bd-time input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bd-choice span { display: block; height: 100%; box-sizing: border-box; padding: 14px 16px; border-radius: 14px; border: 1.5px solid #C6CEE8; font-weight: 700; }
.bd-choice span small { display: block; font-weight: 400; color: #4A5683; }
.bd-choice input:checked + span { border-color: #0B1538; box-shadow: inset 0 0 0 1.5px #0B1538; background: #F3F5FC; }
.bd-days { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bd-js .bd-days, [data-bd-pick].bd-js .bd-days { display: grid; }
.bd-day { font: inherit; cursor: pointer; padding: 12px; border-radius: 14px; border: 1.5px solid #C6CEE8; background: #fff; color: #0B1538; text-align: center; font-weight: 700; }
.bd-day small { display: block; font-weight: 500; color: #4A5683; }
.bd-day.on { background: #0B1538; color: #fff; border-color: #0B1538; } .bd-day.on small { color: #C9D0EC; }
.bd-day.full { opacity: .5; } .bd-day.full small { text-decoration: none; }
.bd-slots { border: 0; padding: 0; margin: 0; min-width: 0; }
.bd-times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bd-time { display: block; cursor: pointer; font-weight: 700; text-align: center; }
.bd-time > span { display: block; padding: 12px; border-radius: 12px; border: 1.5px solid #C6CEE8; }
.bd-time input:checked + span { background: #0B6E67; border-color: #0B6E67; color: #fff; }
.bd-time.gone { cursor: default; opacity: .4; text-decoration: line-through; }
.bd-none { margin: 0; padding: 14px 16px; border-radius: 14px; background: #F3F5FC; }
.bd-sum { background: #EEF9F7; border-radius: 14px; padding: 14px 16px; margin: 0; } .bd-sum strong { display: block; } .bd-sum small { display: block; color: #4A5683; }
.bd-nav { display: flex; gap: 10px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.bd-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; } .bd-row .bd-end { margin-left: auto; }
.bd-card .bd-back { color: #0B1538; border-color: #C6CEE8; background: #fff; }
.bd-who { display: flex; gap: 14px; align-items: center; }
.bd-who i { width: 56px; height: 56px; border-radius: 50%; background: #0B1538; color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 800; flex: none; }
.bd-ticks { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: #4A5683; }
.bd-why { max-width: 900px; } .bd-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; } .bd-two h3 { margin: 0 0 6px; } .bd-two p { margin: 0; }
@media (max-width: 640px) { .bd-days, .bd-times, .bd-choice { grid-template-columns: 1fr 1fr; } .bd-card { padding: 20px; } .bd-two { grid-template-columns: 1fr; } .bd-row .bd-end { margin-left: 0; } }

/* Admin */
.dc-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.dc-row:first-of-type { border-top: 0; } .dc-row2 { grid-template-columns: minmax(0, 1fr) auto; }
.dc-when { font-weight: 800; line-height: 1.2; } .dc-when small { display: block; font-weight: 500; color: var(--muted); } .dc-row p { margin: 2px 0 0; }
.dc-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dc-facts div { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; } .dc-facts span { display: block; font-size: .85rem; color: var(--muted); } .dc-facts strong { display: block; margin-top: 2px; font-size: 1.1rem; }
.dc-stage { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; } .dc-stage .chip { text-decoration: none; }
.dc-days { display: grid; gap: 10px; } .dc-dayrow { display: grid; grid-template-columns: minmax(150px, 1fr) 130px auto 130px; gap: 12px; align-items: center; } .dc-dayrow label { margin: 0; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 16px; }
.cal-h { font-size: .8rem; font-weight: 700; color: var(--muted); text-align: center; padding: 4px 0; }
.cal-d { min-height: 86px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; display: grid; align-content: start; gap: 2px; text-decoration: none; color: inherit; --c: currentColor; }
.cal-d b { font-size: .9rem; } .cal-d span { font-weight: 700; font-size: .9rem; color: var(--c); } .cal-d small { font-size: .76rem; color: var(--muted); overflow-wrap: anywhere; }
a.cal-d:hover { border-color: var(--ink); } .cal-d.today b { text-decoration: underline; text-underline-offset: 3px; }
.cal-d.open { background: #E4F6F3; border-color: #9ADBD3; --c: #0B6E67; }
.cal-d.extra, .cal-d.changed { background: #E7ECFB; border-color: #AFC0F0; --c: #2D4AA6; }
.cal-d.off { background: #FCEBDD; border-color: #F0C9A6; --c: #9A4A1E; }
.cal-d.later { background: repeating-linear-gradient(135deg, #F3F4F9, #F3F4F9 6px, #E9EBF3 6px, #E9EBF3 12px); border-style: dashed; --c: #6B7391; } .cal-d.later b { color: #6B7391; }
.cal-d.past { opacity: .45; }
.cal-d.sel { box-shadow: 0 0 0 3px var(--brand-2, #1B2758); }
.cal-d:is(.open, .extra, .changed, .off, .later) { color: #0B1538; } .cal-d:is(.open, .extra, .changed, .off, .later) small { color: #4A5683; }
.cal-key { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .84rem; color: var(--muted); margin: 14px 0 0; }
.cal-key .k { width: 14px; height: 14px; border-radius: 4px; display: inline-block; vertical-align: -2px; margin-right: 4px; border: 1px solid var(--line); }
.cal-key .open { background: #E4F6F3; } .cal-key .extra { background: #E7ECFB; } .cal-key .off { background: #FCEBDD; } .cal-key .later { background: #E9EBF3; }
.cal-times { display: flex; gap: 8px; flex-wrap: wrap; } .cal-times label { margin: 0; cursor: pointer; }
.cal-times input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cal-times span { display: block; padding: 10px 16px; border-radius: 999px; border: 1.5px dashed var(--line); font-weight: 700; color: var(--muted); }
.cal-times input:checked + span { border-style: solid; background: #1B2758; border-color: #1B2758; color: #fff; } .cal-times input:checked + span::after { content: " ✓"; }
.cal-times input:focus-visible + span { outline: 3px solid #2D4AA6; outline-offset: 2px; }
html[data-theme="dark"] .cal-d.sel { box-shadow: 0 0 0 3px #fff; }
html[data-theme="dark"] .cal-times input:checked + span { background: #E8ECFF; border-color: #E8ECFF; color: #0B1538; }
@media (max-width: 700px) { .dc-row { grid-template-columns: 70px minmax(0, 1fr); } .dc-row .cta-row { grid-column: 1 / -1; } .dc-row2 { grid-template-columns: 1fr; } .dc-dayrow { grid-template-columns: 1fr 1fr; } .dc-dayrow .switch { grid-column: 1 / -1; } .dc-dayrow > span { display: none; }
  .cal { gap: 3px; } .cal-d { min-height: 64px; padding: 5px 4px; border-radius: 8px; } .cal-d span { font-size: .72rem; } .cal-d small { display: none; } .cal-d b { font-size: .8rem; } }
.cal-d b { color: var(--ink); } .cal-d:is(.open, .extra, .changed, .off, .later) b { color: #0B1538; } .cal-d.later b { color: #6B7391; }
html[data-theme="dark"] .cal-d:is(.open, .extra, .changed, .off, .later) { color: var(--ink); }
html[data-theme="dark"] .cal-d:is(.open, .extra, .changed, .off, .later) :is(b, small) { color: var(--ink); } html[data-theme="dark"] .cal-d:is(.open, .extra, .changed, .off, .later) small { opacity: .8; }
html[data-theme="dark"] .cal-d.open, html[data-theme="dark"] .cal-key .open { background: rgba(46, 230, 214, .16); border-color: #1F7F77; --c: #7FE9DE; }
html[data-theme="dark"] .cal-d:is(.extra, .changed), html[data-theme="dark"] .cal-key .extra { background: rgba(120, 150, 255, .2); border-color: #5068C4; --c: #B9C7FF; }
html[data-theme="dark"] .cal-d.off, html[data-theme="dark"] .cal-key .off { background: rgba(255, 170, 100, .17); border-color: #9A6234; --c: #FFC79A; }
html[data-theme="dark"] .cal-d.later, html[data-theme="dark"] .cal-key .later { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .03) 6px, rgba(255, 255, 255, .08) 6px, rgba(255, 255, 255, .08) 12px); --c: var(--muted); }
html[data-theme="dark"] .cal-d.later :is(b, small) { color: var(--muted); }
