.project-demos { padding-block: clamp(3rem, 6vw, 5rem); }
.project-demos__heading { max-width: 760px; margin-bottom: 2rem; }
.project-demos__heading p { color: var(--color-muted); }
.demo-feature {
  position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  padding: clamp(1.35rem, 4vw, 3.5rem); overflow: hidden;
  border: 1px solid #244466; border-radius: 22px;
  background: radial-gradient(ellipse at 90% 10%, rgba(18, 125, 163, .2), transparent 65%), #0b1522;
}
.demo-feature + .demo-feature { margin-top: 1.5rem; }
.project-demos__group { margin-top: 1.5rem; }
.demo-feature--secondary { background: #0c1420; border-color: #293644; }
.demo-feature__copy { min-width: 0; }
.demo-feature__copy h2 { color: var(--color-text); font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: .9rem; overflow-wrap: anywhere; }
.demo-feature__copy p { color: var(--color-muted); margin-bottom: 1.25rem; }
.demo-feature__copy .project-eyebrow { display: block; color: var(--color-primary); margin-bottom: .8rem; }
.demo-feature__stack { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1.35rem; }
.demo-feature__stack li { color: var(--color-muted); padding: .3rem .65rem; border: 1px solid #33465d; border-radius: 6px; font-size: .875rem; }
.demo-feature__copy .demo-feature__note { margin-top: .9rem; margin-bottom: 0; font-size: .875rem; color: var(--color-muted); }
.demo-feature__preview { min-width: 0; margin: 0; }
.demo-browser { display: block; overflow: hidden; border: 1px solid #38516b; border-radius: 12px; background: #101d2b; box-shadow: 0 16px 42px #0004; }
.demo-browser__bar { display: flex; align-items: center; gap: .45rem; padding: .75rem 1rem; color: var(--color-muted); font-size: .875rem; }
.demo-browser__dot { width: 7px; height: 7px; border-radius: 50%; background: #62cec4; }
.demo-browser__bar span:last-child { margin-left: .4rem; }
.demo-browser img { width: 100%; height: auto; aspect-ratio: 36 / 25; object-fit: cover; object-position: top; }
.demo-browser--app img { object-fit: contain; }
.demo-feature__preview figcaption { color: var(--color-muted); font-size: .875rem; margin-top: .65rem; }
.demo-feature__details { margin-top: 1.3rem; }
.demo-feature__details summary { color: var(--color-muted); cursor: pointer; min-height: 44px; padding-block: .65rem; }
.demo-feature__details p { font-size: 1rem; }
@media (hover: hover) and (pointer: fine) {
  .demo-browser { transition: border-color .2s ease, transform .2s ease; }
  a.demo-browser:hover { border-color: #78bedb; transform: translateY(-3px); }
}
@media (max-width: 900px) {
  .demo-feature { grid-template-columns: minmax(0, 1fr); }
  .demo-feature__copy { max-width: 680px; }
}
@media (max-width: 620px) {
  .project-demos { padding-block: 3rem; }
  .demo-feature { padding: 1.15rem; border-radius: 15px; gap: 1.4rem; }
  .demo-feature .button { padding-inline: .85rem; }
}
