/* The live demo page (/demo). Everything is scoped under .demo-* so nothing global changes.
   11 Nov 2026 (demo parity stage 1): the look follows Master Store's demo page; the class names stay ours. */
.demo-showcase { padding: 32px 20px 48px; background: radial-gradient(ellipse at 3% 12%, #e4f4ed 0, transparent 40%), radial-gradient(ellipse at 98% 36%, #eaf0fb 0, transparent 42%), #f8fafb; }
.demo-showcase .pub-inner, .demo-team-section .pub-inner { max-width: 1100px; }
.demo-arrow { display: inline-block; transition: transform .18s ease; }

/* Breadcrumb */
.demo-crumb { display: flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 38px; font-size: 12px; color: #65748a; }
.demo-crumb a { display: inline-flex; align-items: center; min-height: 44px; color: #42566e; text-decoration: none; }
.demo-crumb a:hover { text-decoration: underline; }

/* Intro */
.demo-intro { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 70px; align-items: center; margin-bottom: 58px; }
.demo-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #e6f3e7; color: #206d32; font-size: 12px; font-weight: 700; }
.demo-eyebrow .ic-sm { width: 16px; height: 16px; }
.demo-intro h1 { font-size: clamp(32px, 4.1vw, 54px); line-height: 1.12; letter-spacing: -.045em; color: #102b45; margin: 20px 0; max-width: 650px; }
.demo-lead { font-size: 16px; line-height: 1.8; color: #53667c; max-width: 650px; margin: 0; }
.demo-promises { display: flex; flex-wrap: wrap; gap: 12px 22px; list-style: none; margin: 22px 0 0; padding: 0; }
.demo-promises li { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #426451; }
.demo-promises .ic-sm { width: 15px; height: 15px; color: #238238; }

/* Help block */
.demo-help { display: flex; align-items: flex-start; gap: 14px; padding: 22px 0; border-top: 1px solid #d7e5df; border-bottom: 1px solid #d7e5df; color: #17374a; text-decoration: none; }
.demo-help-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 14px; background: #e0eee6; color: #28784a; }
.demo-help-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.demo-help strong { font-size: 14px; font-weight: 700; }
.demo-help small { font-size: 12px; color: #65768a; }
.demo-help-link { margin-top: 6px; font-size: 12px; font-weight: 700; color: #217437; }
.demo-help:hover .demo-arrow { transform: translateX(4px); }

/* Section heading */
.demo-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 24px; margin: 0 0 22px; }
.demo-kicker { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #638171; }
.demo-heading h2 { margin: 6px 0 0; font-size: clamp(21px, 2.5vw, 29px); letter-spacing: -.035em; color: #102b45; }
.demo-heading p { margin: 0; font-size: 12px; color: #65768a; }

/* Plan cards */
.demo-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.demo-company { --demo-brand: #23842e; display: flex; flex-direction: column; padding: 24px; background: #fff; border: 1px solid #e0e7ed; border-radius: 28px; box-shadow: 0 14px 44px -24px #1c38552b; min-width: 0; transition: border-color .18s ease, box-shadow .18s ease; }
.demo-company-premier { --demo-brand: #12365a; }
.demo-company:hover { border-color: #bdcec3; box-shadow: 0 20px 50px -26px #1c38554d; }
.demo-company-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.demo-tier { font-weight: 700; font-size: 13px; color: var(--demo-brand); }
.demo-tier-note { font-size: 10px; color: #607289; }
.demo-preview { background: #fbfcfd; border: 1px solid #dfe6ec; border-radius: 16px; margin: 16px 0 0; padding: 10px; overflow: hidden; transition: transform .18s ease; }
.demo-company:hover .demo-preview { transform: translateY(-3px); }
.demo-preview .mock { box-shadow: none; }
.demo-preview .mock-bar-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.demo-preview .hc-tiles { margin-bottom: 0; }
.demo-company-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 0 0; flex: 1; }
.demo-company-body h3 { margin: 0; font-size: 22px; line-height: 1.35; letter-spacing: -.03em; color: #102b45; }
.demo-company-body p { margin: 0; font-size: 13px; line-height: 1.85; color: #607087; }
.demo-features { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 6px; font-weight: 600; font-size: 10px; color: #45614f; }
.demo-features li { display: flex; align-items: center; gap: 8px; }
.demo-features .ic-sm { width: 14px; height: 14px; color: #238238; flex: 0 0 auto; }
.demo-company-body form { margin-top: auto; }
.demo-open { display: flex; width: 100%; min-height: 54px; padding: 15px 20px; border-radius: 12px; align-items: center; justify-content: space-between; gap: 12px; text-align: left; font-size: 14px; font-weight: 700; }
.demo-company .btn-green.demo-open { background: var(--demo-brand); border: 1px solid var(--demo-brand); color: #fff; }
.demo-open:hover .demo-arrow { transform: translateX(4px); }
a.demo-open { justify-content: center; text-align: center; }
.demo-open-note { display: block; font-size: 10px; text-align: center; color: #64778a; }
.demo-branded { font-weight: 700; font-size: 12px; text-align: center; color: #25643d; }
.demo-signout-first { display: block; padding: 12px; border-radius: 12px; background: var(--ms-navy-50); color: var(--ms-navy-800); font-weight: 700; font-size: 13px; text-align: center; }

/* Bottom row */
.demo-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: 26px; }
.demo-foot-note { display: flex; align-items: center; gap: 10px; font-size: 11px; line-height: 1.8; color: #617389; min-width: 0; }
.demo-foot-note .ic { width: 22px; height: 22px; flex: 0 0 22px; color: #44836a; }
.demo-foot a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 11px; font-weight: 700; color: #25643d; text-decoration: none; }
.demo-foot a:hover .demo-arrow { transform: translateX(4px); }

/* Team disclosure */
.demo-team-section { padding: 24px 20px 0; background: #fff; }
.demo-team { background: #fff; border: 1px solid #e0e7ed; border-radius: 18px; }
.demo-team summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 14px; padding: 20px 24px; min-height: 88px; color: #203d54; }
.demo-team summary::-webkit-details-marker { display: none; }
.demo-team-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 13px; background: #f0f5f5; color: #4c7572; }
.demo-team-title { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.demo-team-title strong { font-size: 14px; }
.demo-team-title small { font-size: 11px; color: #748397; }
.demo-team-toggle { display: flex; align-items: center; justify-content: center; flex: 0 0 30px; width: 30px; height: 30px; border: 1px solid #dce5e9; border-radius: 50%; font-size: 18px; line-height: 1; color: #203d54; transition: transform .18s ease; }
.demo-team[open] .demo-team-toggle { transform: rotate(45deg); }
.demo-team-content { border-top: 1px solid #e0e7ed; padding: 28px; }
.demo-team-content > h2 { margin: 0 0 8px; font-size: 26px; letter-spacing: -.03em; color: #102b45; }
.demo-team-content > p { font-size: 13px; line-height: 1.8; }
.demo-team h3 { margin: 22px 0 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.demo-team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.demo-person { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid #e0e7ed; border-radius: 14px; background: #fbfcfd; min-width: 0; }
.demo-person small { color: var(--ms-muted); overflow-wrap: anywhere; }
.demo-person form { margin-top: 8px; }
.demo-person .btn { width: 100%; min-height: 50px; border-radius: 12px; font-weight: 700; justify-content: center; }

/* Booking */
.demo-book { display: grid; grid-template-columns: 5fr 6fr; gap: 28px; align-items: start; max-width: 1100px; }
.demo-book-left { display: grid; gap: 18px; }
.demo-book h3 { margin-top: 0; }
.demo-book .card { border: 1px solid #dde4ec; border-radius: 14px; box-shadow: 0 2px 14px rgba(12,35,64,.08); }
.demo-book .btn { min-height: 50px; border-radius: 12px; font-weight: 700; }
.demo-book .btn-green { background: linear-gradient(180deg, #2e9e3a, #23842e); }
.demo-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.demo-steps li { display: flex; flex-direction: column; gap: 2px; }
.demo-steps span { color: var(--ms-muted); font-size: 14px; }

/* Focus ring */
.demo-showcase a:focus-visible, .demo-showcase button:focus-visible, .demo-team summary:focus-visible,
.demo-team-section a:focus-visible, .demo-team-section button:focus-visible,
.demo-book a:focus-visible, .demo-book button:focus-visible { outline: 3px solid #2b78b7; outline-offset: 4px; }

@media (max-width: 1000px) {
    .demo-intro { grid-template-columns: minmax(0, 1fr) 230px; gap: 30px; }
    .demo-company { padding: 20px; }
    .demo-plans { gap: 20px; }
}
@media (max-width: 780px) {
    .demo-showcase { padding-top: 18px; }
    .demo-intro, .demo-plans, .demo-book { grid-template-columns: 1fr; }
    .demo-intro { margin-bottom: 40px; }
    .demo-crumb { margin-bottom: 22px; }
    .demo-intro h1 { font-size: clamp(34px, 7.5vw, 48px); }
    .demo-lead { font-size: 14px; }
    .demo-help { padding: 16px; background: #ffffff9c; border: 1px solid #dce8e1; border-radius: 16px; align-items: center; }
    .demo-help small { display: none; }
    .demo-company { max-width: 580px; width: 100%; margin: 0 auto; padding: 22px; }
    .demo-foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
    .demo-intro h1 { font-size: 34px; }
    .demo-company { padding: 16px; border-radius: 22px; }
    .demo-open { font-size: 13px; }
    .demo-team summary { padding: 16px; }
    .demo-team-content { padding: 18px 16px; }
    .demo-preview .hc-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .demo-arrow, .demo-company, .demo-preview, .demo-team-toggle { transition: none; }
    .demo-help:hover .demo-arrow, .demo-open:hover .demo-arrow, .demo-foot a:hover .demo-arrow,
    .demo-company:hover .demo-preview { transform: none; }
}

/* 17 Nov 2026: register for your own demo (/demo, /demo-signup). */
.demo-price { margin: 6px 0 4px; font-size: 13px; color: #53667c; }
.demo-price strong { font-size: 26px; letter-spacing: -.03em; color: #102b45; }
.da-plan-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 12px; }
.da-plan-pick label { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 2px solid #dde4ec; border-radius: 14px; background: #fff; cursor: pointer; min-width: 0; }
.da-plan-pick label:has(input:checked) { border-color: #23842e; background: #f3faf4; }
.da-plan-pick input { align-self: flex-start; margin: 0 0 4px; }
.da-plan-pick b { font-size: 16px; color: #102b45; }
.da-plan-price { font-size: 18px; font-weight: 800; color: #102b45; }
.da-plan-price small { font-size: 12px; font-weight: 600; color: #5d6b7c; }
.da-plan-pick label > small { color: #5d6b7c; font-size: 12.5px; line-height: 1.5; }
@media (max-width: 560px) { .da-plan-pick { grid-template-columns: 1fr; } }

/* 30 Nov 2026: /demo is the "free for 7 days" page, laid out like Master LMS's (all under .dmx; no animation). */
.dmx .dmx-hero { padding-bottom: 24px; }
.dmx .dmx-intro { max-width: 760px; }
.dmx .dmx-start { padding-top: 24px; padding-bottom: 48px; }
.dmx .dmx-form { max-width: 820px; }
.dmx .dmx-form .card { margin-bottom: 18px; }
.dmx .dmx-how { padding: 48px 20px; background: #fff; }
.dmx .dmx-how .pub-inner, .dmx .dmx-look .pub-inner { max-width: 1100px; }
.dmx .dmx-look { padding-top: 56px; }
.dmx .dmx-days { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.dmx .dmx-days span { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #e6f3e7; color: #206d32; font-weight: 800; font-size: 15px; }
.dmx .dmx-days .dmx-day-lock { background: #12365a; color: #fff; }
.dmx .dmx-legend { margin: 0 0 26px; font-size: 13px; color: #53667c; }
.dmx .dmx-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dmx .dmx-card { padding: 20px; background: #fbfcfd; border: 1px solid #e0e7ed; border-radius: 18px; min-width: 0; }
.dmx .dmx-card h3 { margin: 12px 0 6px; font-size: 16px; letter-spacing: -.02em; color: #102b45; }
.dmx .dmx-card p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #53667c; }
.dmx .dmx-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: #e0eee6; color: #28784a; }
.dmx .dmx-ic .ic { width: 20px; height: 20px; }
.dmx .dmx-hero a:focus-visible, .dmx .dmx-start a:focus-visible, .dmx .dmx-start button:focus-visible, .dmx .dmx-look a:focus-visible { outline: 3px solid #2b78b7; outline-offset: 3px; }
@media (max-width: 900px) { .dmx .dmx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
    .dmx .dmx-cards { grid-template-columns: 1fr; }
    .dmx .dmx-days span { width: 38px; height: 38px; }
    .dmx .dmx-how { padding: 36px 16px; }
}
