.demo-navigation .header-transparent {
  position: relative;
  background: #473729;
}

.demo-navigation .header-transparent .navbar:not(.sticky):not(.navbar-collapsed) {
  background: #473729 !important;
}

.demo-page {
  --demo-brown: #473729;
  --demo-muted: #6b625a;
  --demo-teal: #00ced1;
  --demo-border: #ded6ca;
  background: #f5f1eb;
  color: var(--demo-brown);
  padding: 3.5rem 0 4.5rem;
  font-family: 'Public Sans', sans-serif;
}

.demo-page h1, .demo-page h2, .demo-page h3 {
  color: var(--demo-brown);
  font-family: inherit;
  font-weight: 600;
}

.demo-page a { color: var(--demo-brown); }
.demo-page a:focus-visible, .demo-page summary:focus-visible, .demo-page video:focus-visible {
  outline: 3px solid #007578;
  outline-offset: 4px;
}

.demo-intro {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.demo-intro-copy { max-width: 43rem; }
.demo-eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--demo-brown);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.demo-eyebrow::before {
  content: '';
  flex: 0 0 1.75rem;
  width: 1.75rem;
  height: 3px;
  background: var(--demo-teal);
}
.demo-page h1 { font-size: clamp(2.4rem, 4.5vw, 3.65rem); line-height: 1.1; letter-spacing: -.045em; margin: 0 0 1rem; }
.demo-lead { color: var(--demo-muted); font-size: 1.125rem; line-height: 1.65; margin: 0; }
.demo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  border-radius: 100px;
  padding: .9rem 1.45rem;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
  text-align: center;
  flex-shrink: 0;
}
.demo-page .demo-button-primary { color: #253333; background: var(--demo-teal); border: 1px solid transparent; }
.demo-page .demo-button-primary:hover { background: #1cdcdf; color: #253333; text-decoration: none; }
.demo-video-heading, .demo-video-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .875rem;
}
.demo-video-heading { margin-bottom: .85rem; }
.demo-video-heading p { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; margin: 0; color: var(--demo-muted); }
.demo-duration { border-right: 1px solid var(--demo-border); padding-right: 1rem; font-weight: 600; color: var(--demo-brown); }
.demo-video-heading a, .demo-video-footer a { text-decoration: underline; text-underline-offset: .2em; white-space: nowrap; }
.demo-player {
  border: 1px solid var(--demo-border);
  border-radius: 1rem;
  overflow: hidden;
  background: #eae4db;
  box-shadow: 0 16px 44px rgba(71, 55, 41, .08);
  scroll-margin-top: 1.25rem;
}
.demo-player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #f5f1eb; object-fit: contain; }
.demo-video-footer { margin-top: 1rem; color: var(--demo-muted); }
.demo-video-footer p { margin: 0; }
.demo-player-status { font-size: .875rem; margin: .6rem 0 0; color: var(--demo-muted); }
.demo-player-status:empty { display: none; }
.demo-watch, .demo-chapters { background: transparent; }
.demo-chapters { padding-top: 4rem; scroll-margin-top: 1.5rem; }
.demo-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 1.7rem; }
.demo-page h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.2; letter-spacing: -.03em; margin: 0; }
.demo-section-heading > p { color: var(--demo-muted); max-width: 20rem; font-size: 1rem; line-height: 1.65; margin: 0; }
.demo-chapter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.demo-chapter-group { background: #fffcf8; border: 1px solid var(--demo-border); border-radius: 1rem; overflow: hidden; }
.demo-chapter-group-top { padding: 1.5rem; }
.demo-page h3 { font-size: 1.25rem; line-height: 1.35; letter-spacing: -.025em; margin: 0 0 .7rem; }
.demo-chapter-group-top > p { font-size: 1rem; line-height: 1.6; color: var(--demo-muted); margin: 0 0 1.5rem; min-height: 4.8rem; }
.demo-role-link { display: flex; align-items: center; gap: .6rem; font-size: .9375rem; font-weight: 600; min-height: 2.5rem; }
.demo-play-icon { display: inline-block; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid #007578; flex-shrink: 0; }
.demo-role-time { color: var(--demo-muted); margin-left: auto; font-size: .875rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.demo-chapter-details { border-top: 1px solid var(--demo-border); }
.demo-chapter-details summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem; min-height: 3.5rem; cursor: pointer; list-style: none; font-size: .9375rem; font-weight: 500; }
.demo-chapter-details summary::-webkit-details-marker { display: none; }
.demo-chapter-details summary:hover { background: #f0eae2; }
.demo-chevron { width: .5rem; height: .5rem; border-bottom: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -.3rem; }
.demo-chapter-details[open] .demo-chevron { transform: rotate(225deg); margin-top: .3rem; }
.demo-chapter-list { margin: 0; padding: 0 1rem .75rem; list-style: none; }
.demo-chapter-list a { display: flex; align-items: baseline; gap: .8rem; border-radius: .4rem; font-size: .9375rem; line-height: 1.5; padding: .7rem .5rem; }
.demo-chapter-list a:hover, .demo-chapter-list a[aria-current='true'] { background: #e6f5f2; text-decoration: none; color: #234c49; }
.demo-chapter-time { min-width: 2.6rem; flex-shrink: 0; font-size: .875rem; color: var(--demo-muted); font-variant-numeric: tabular-nums; }
.demo-example-note { margin: 1rem 0 0; font-size: .875rem; color: var(--demo-muted); }
.demo-next-step { margin-top: 4rem; padding: 2.5rem; background: #eae4db; border-radius: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; }
.demo-next-step > div { max-width: 38rem; }
.demo-next-step p:last-child { color: var(--demo-muted); font-size: 1.0625rem; line-height: 1.65; margin: 1rem 0 0; }

@media (max-width: 991.98px) {
  .demo-intro { align-items: flex-start; flex-direction: column; gap: 1.5rem; }
  .demo-chapter-grid { grid-template-columns: 1fr; }
  .demo-chapter-group-top > p { min-height: 0; margin-bottom: 1rem; }
  .demo-next-step { align-items: flex-start; flex-direction: column; gap: 1.5rem; }
  .demo-section-heading { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .demo-section-heading > p { max-width: none; }
}

@media (max-width: 575.98px) {
  .demo-page { padding: 2.25rem 0 3rem; }
  .demo-intro { margin-bottom: 2rem; }
  .demo-eyebrow { font-size: .8125rem; letter-spacing: .055em; }
  .demo-video-heading { align-items: flex-start; }
  .demo-video-heading p { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .demo-duration { border-right: 0; padding-right: 0; }
  .demo-video-heading p > span:last-child { font-size: .8125rem; }
  .demo-player { border-radius: .65rem; }
  .demo-video-footer { align-items: flex-start; }
  .demo-video-footer p { max-width: 15rem; }
  .demo-chapters { padding-top: 3rem; }
  .demo-next-step { margin-top: 3rem; padding: 1.5rem; }
  .demo-next-step .demo-button { width: 100%; }
}
